Cells can be reused, which can lead to such problems. To this end, you should specify the text color of the normal label in the 'else' statement.
if flaggedNames.contains(meterNumber) {
cell.textLabel?.textColor = .systemRed
} else {
cell.textLabel?.textColor = .black
}