Bug fix to measurement_type serializer