Fix bug #23 deleting sensor data by id