Transaction manager fixes

Pain in the ass. Finally got both round robin and random working 100%.
:)