SOS: fix for registerSensor with measurement template