The checked flag on the menu was always false