getAffectedTransactions fixes

Glad to see you back, justmoon!