Fix typo in fix bad values procedure