Corrections to handling of min and max with discrete knobs.