in listtransactions, iterate all accounts if account is None