Fixed bug with min limits when decreasing in units