Added min/max for ranges