Bugfix in RPC listaccounts method