Fix issues when sensor is created/deleted