Added support for no maximum in input_minmax()

Should probably do the same for minimum