Fix redundant quantity check when shipping inventory.