Fixed a small bug with default quantity on "refresh" event.