You should take a look in the page queryset definition and make sure you are doing the correct queryset filtering for the cases where CMS_MODERATION is true or false.