MFC r269978 (by alc):
Avoid pointless (but harmless) actions on unmanaged pages.