Fixed max/min by parsing string