Added code to keep just clean sensor/date data