Renamed bad to invalid.