Fix issue with creating child pages