Update fix_bad_values to allow setting new value instead of excluding