Silly bug causing crash in menu_limits