Enforce min and max value for scaling quality.