diff --git a/molgenis-omx-core/src/main/java/org/molgenis/omx/search/AsyncDataSetsIndexer.java b/molgenis-omx-core/src/main/java/org/molgenis/omx/search/AsyncDataSetsIndexer.java
index <HASH>..<HASH> 100644
--- a/molgenis-omx-core/src/main/java/org/molgenis/omx/search/AsyncDataSetsIndexer.java
+++ b/molgenis-omx-core/src/main/java/org/molgenis/omx/search/AsyncDataSetsIndexer.java
@@ -65,7 +65,7 @@ public class AsyncDataSetsIndexer implements DataSetsIndexer, InitializingBean
 			{
 				searchService.indexRepository(new DataSetMatrixRepository(dataService, dataSet.getIdentifier()));
 				searchService.indexRepository(new ProtocolTreeRepository(dataSet.getProtocolUsed(), dataService,
-						"protocolTree-" + dataSet.getProtocolUsed().getId()));
+						"protocolTree-" + dataSet.getId()));
 				searchService.indexRepository(new CategoryRepository(dataSet.getProtocolUsed(), dataSet.getId(),
 						dataService));
 			}
revert fix for #<I>, created issue #<I> Importing Protocol entities does not call indexProtocols