fix null oldvalue in update events within transaction. fixes #3406
Merge pull request #3420 from eminn/fix/txn-map-update-event-null-oldvalue-maintenance

[backport] fix null oldvalue in update events within transaction. fixes #3406