Fix activeMenu helper to allow childless pages