diff --git a/src/nwb/file/ElectrodeTable.cpp b/src/nwb/file/ElectrodeTable.cpp
index bb6ac214..027c9f6a 100644
--- a/src/nwb/file/ElectrodeTable.cpp
+++ b/src/nwb/file/ElectrodeTable.cpp
@@ -41,16 +41,10 @@ void ElectrodeTable::addElectrodes(std::vector<Channel> channels)
 {
   // create datasets
   for (const auto& ch : channels) {
-    // if the electrode number (row ID) already exists, skip it
-    if (std::find(
-            electrodeNumbers.begin(), electrodeNumbers.end(), ch.globalIndex)
-        == electrodeNumbers.end())
-    {
-      groupReferences.push_back(groupPathBase + ch.groupName);
-      groupNames.push_back(ch.groupName);
-      electrodeNumbers.push_back(ch.globalIndex);
-      locationNames.push_back("unknown");
-    }
+    groupReferences.push_back(groupPathBase + ch.groupName);
+    groupNames.push_back(ch.groupName);
+    electrodeNumbers.push_back(ch.globalIndex);
+    locationNames.push_back("unknown");
   }
 }