Fix to issue where min and max were incorrectly enabling.