I found him. It turns out that if you have items in the menu that are not visible, they are locked at intervals. The fix was to change the logic to actually remove / add items or rearrange the menu, rather than switch the visibility of menu items. This is one case where there was some strange behavior to switch โvisibleโ.
genki source share