Bugfix in event producer for measurements