Quantity fix with spec

Fix for the case where a line item has more than one product.