Cancel Order was returning an error

Pull request for issue #10
Canceling an order was returning an error