Fix error from attempting to cancel an order that is nil