fix accountTransactions returning undefined when there are none