Changing to closed range for IQR