Fix refresh of cached balances when deleting transactions