Fixed Sell/order/index to cope with no open orders