Fix flat_menus error when max_levels not provided (and is None)
Fix flat_menus error when max_levels not provided (and is None)

rkhleics/wagtailmenus,rkhleics/wagtailmenus,ababic/wagtailmenus,rkhleics/wagtailmenus,ababic/wagtailmenus,ababic/wagtailmenus