MDL-30582 navigation: Fixed regression in generation of front page modules