getparents update
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/MetaCollectionSerializer.java b/src/main/java/de/ids_mannheim/korap/query/serialize/MetaCollectionSerializer.java
index f80aa83..f43ba9e 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/MetaCollectionSerializer.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/MetaCollectionSerializer.java
@@ -102,11 +102,9 @@
         Map<String, String> cursor = getResource(id);
         Map<String, String> parents = new HashMap<>();
 
-        if (cursor.get("parent") != null && !cursor.get("parent").isEmpty()) {
-            parents.put(id, cursor.get("query"));
+        parents.put(id, cursor.get("query"));
+        if (cursor.get("parent") != null && !cursor.get("parent").isEmpty())
             parents.putAll(getParents(cursor.get("parent")));
-        } else
-            parents.put(id, cursor.get("query"));
         return parents;
 
     }