Qty now resets to minimum if value is zero or NaN