Improved uniqueness checks for sensors.