Fixed bug in measurement event integer conversions