Add function to find invalid readings.