Adds variable to tell if page has children

Fixed in da6f888