Fixes inability to delete standalone pages