Fix error with queueing shipment emails.