changes sensor data pagination to be based on date. 1min queries down to sub-10ms