Corrected schema validation in SensorDatabaseAggregator.