diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataTable.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataTable.java
index 4b41b471c46f4a8abf998e2951fbf32286a1d229..e54fa46de24476a2812235d35ef93a02ec6059f6 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataTable.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/ExternalDataTable.java
@@ -394,7 +394,7 @@ public final class ExternalDataTable extends AbstractExternalDataBusinessObject
         {
             for (ExternalDataPE dataSet : entry.getValue())
             {
-                if (dataSet.isContainerDataSet())
+                if (dataSet.isContainer())
                 {
                     containerDataSets.add(dataSet.getCode());
                 }