Had "min" when it should have been "max"