LPS-44269 Make it work for child pages also
LPS-44269 Fix possible NPE
LPS-44269 sf