Don't rely on the quantity to determine the order id.