Bug fixed re: fooling around with min/max