Fixed: Error while deleting a thermostat scenario