Fix handling binary menus.