Made fix on MinMaxThreshold processing