prevent setting both `getMin` and `getMax`