Fixing a bug whereby the minmax input will throw an error if the input is blank.