Fixed bug where the first transaction/account was ignored after add/edit/delete