Fixed order cancellation

Due to a bug, all "cancel_order" requests failed. This has been fixed.