Fix transaction id check in KeyedCountUpdater.