Removed offending line that was resetting selected sensors.