Adding missing index to sensor_id on datapoints, cleaning up a trailing whitespace issue