Fixed bug where returning all purchases of an order individually did not remove the order itself