Fix: Max - ext is not necessarily min.

Fair, maximum - ext isn't necessarily min. This will just cap the
value in setMaximum between max-ext and max.