diff --git a/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java b/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
index <HASH>..<HASH> 100644
--- a/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
+++ b/molgenis-data-elasticsearch/src/main/java/org/molgenis/data/elasticsearch/ElasticsearchService.java
@@ -812,7 +812,8 @@ public class ElasticsearchService implements SearchService, MolgenisTransactionL
 	@Override
 	public void rebuildIndex(Iterable<? extends Entity> entities, EntityMetaData entityMetaData)
 	{
-		if (ElasticsearchRepositoryCollection.NAME.equals(entityMetaData.getBackend()))
+		// Skip reindexing if the backend is ElasticSearch, the data will be removed in the reindexing process
+		if (!ElasticsearchRepositoryCollection.NAME.equals(entityMetaData.getBackend()))
 		{
 			if (DependencyResolver.hasSelfReferences(entityMetaData))
 			{
Fix #<I>: Model registry broken. Unknown package [base]