Fixing small issue whereby minmax inputs will error if blank