wireframe on shaded display error

I’ve written a function to turn on wireframe-on-shaded for all mesh objects in a scene. However, if any meshes have a subsurf modifier with “optimal display” checked, the wireframe is incomplete. The only way I’ve been able to “refresh” the wireframe is to select each object, tab into edit mode, then tab back out. (see gif)

http://i689.photobucket.com/albums/vv260/khtrammell/edgeError.gif

Any suggestions for refreshing all objects’ wireframes without having to tab into edit mode for each?

thanks!