fixes #2827 (moving public pages to unpublished parents)