Fixed bugs in multiple sensor data retrieval.