Fix issue related to cancel orders with paypal as a payment method