Detect and ignore duplicate readings.