corrected the export issue, which was occurring when a page was removed while it was part of a menu