Fixed bug where getFunds would fail if the account had no open orders.