fixed one of bugs in  getAffectedTransactions