fixes #2827 (moving public pages to unpublished parents)

fixes #2827