fixed bug that prevents rendering the ul tag when rendering navigations with deeper levels than given deep param