Fix for menu showing all sub-pages instead of children only

Replaces (git c8e1253)