Fix transaction collision

A simple fix to additionally order commit troll queries by transaction_id