Fixes the default implementation of min:/max: