diff --git a/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/flow.py b/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/flow.py
index 2efdde7cee5aed877cfd294cbbef5bb5cc757d00..88e924b7a2a0b3002d9c06aba4c70d02967982c0 100644
--- a/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/flow.py
+++ b/ui-eln-lims/src/core-plugins/eln-lims/1/dss/file-system-plugins/eln-tree/resolver-plugins/flow.py
@@ -6,7 +6,7 @@ import script
 
 
 def addSampleChildNodes(path, samplePermId, sampleType, response, acceptor, context):
-    dataSets = script.getDataSetsOfSampleAndItsChildren(samplePermId, context)
+    dataSets = getDataSetsOfSampleAndItsDescendants(samplePermId, context)
     filteredDataSets = []
     for dataSet in dataSets:
         if acceptor.acceptDataSet(dataSet):