bugfix: "@type":"korap:term" for OPMORPH without layer indication
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java b/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java
index 48cf6df..d5dd84d 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java
@@ -229,6 +229,7 @@
 			LinkedHashMap<String, Object> fieldMap = null;
 			for (String morphterm : morphterms) {
 				fieldMap = new LinkedHashMap<String, Object>();
+				fieldMap.put("@type", "korap:term");
 				String[] attrval = morphterm.split("=");
 				if (attrval.length == 1) {
 					fieldMap.put("key", morphterm);
@@ -238,8 +239,6 @@
 						attrval[0] = attrval[0].replace("!", "");
 					}
 					String[] foundrylayer = attrval[0].split("/");
-
-					fieldMap.put("@type", "korap:term");
 					//     			fieldMap.put("key", "morph:"+node.getChild(0).toString().replace(" ", "_"));
 					fieldMap.put("key", attrval[1]);
 					if (foundrylayer.length==1) {