Fixing txn to order mapping