Updates the min or max value when set(value) is out of bounds