Fix for the negative_values_in_menu patch