bugfix for termGroup relation in testsuite (non-critical)
diff --git a/src/main/java/de/ids_mannheim/korap/KorapDocument.java b/src/main/java/de/ids_mannheim/korap/KorapDocument.java
index 4b434c9..349132e 100644
--- a/src/main/java/de/ids_mannheim/korap/KorapDocument.java
+++ b/src/main/java/de/ids_mannheim/korap/KorapDocument.java
@@ -6,13 +6,11 @@
 import de.ids_mannheim.korap.document.KorapPrimaryData;
 import de.ids_mannheim.korap.index.FieldDocument;
 
-
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.fasterxml.jackson.annotation.*;
 
 /* Todo:: Author and textClass may be arrays! */
 
-
 /**
  * Abstract class representing a document in the KorAP index.
  *
diff --git a/src/main/java/de/ids_mannheim/korap/KorapIndex.java b/src/main/java/de/ids_mannheim/korap/KorapIndex.java
index d2825dc..9621ca8 100644
--- a/src/main/java/de/ids_mannheim/korap/KorapIndex.java
+++ b/src/main/java/de/ids_mannheim/korap/KorapIndex.java
@@ -610,10 +610,11 @@
 			// There's an s found, that starts before the match
 			if (sentence.start() <= match.getStartPos()) {
 			    newStart = sentence.start() > newStart ? sentence.start() : newStart;
+
 			}
 			else if (newStart == -1)
 			    break;
-			
+
 			// There's an s found, that ends after the match
 			if (sentence.end() >= match.getEndPos()) {
 			    newEnd = sentence.end();
diff --git a/src/test/java/de/ids_mannheim/korap/index/TestFieldDocument.java b/src/test/java/de/ids_mannheim/korap/index/TestFieldDocument.java
index 6c80e4c..f577738 100644
--- a/src/test/java/de/ids_mannheim/korap/index/TestFieldDocument.java
+++ b/src/test/java/de/ids_mannheim/korap/index/TestFieldDocument.java
@@ -218,5 +218,20 @@
 	assertEquals("... reich an [Vokalen] war, ...", kr.match(0).getSnippetBrackets());
 
 	assertNotNull(kr.toJSON());
+
+	/*
+	System.err.println(ki.getMatchInfo(
+	    "match-WPD!WPD_AAA.00004-p200-206",
+	    "tokens",
+	    "xip",
+	    "c",
+	    true,
+	    false,
+	    true
+        ).toJSON());
+*/
+	//	ki.getMatch();
+
+
     };
 };
diff --git a/src/test/resources/queries/bsp11.jsonld b/src/test/resources/queries/bsp11.jsonld
index 8a056f4..060899f 100644
--- a/src/test/resources/queries/bsp11.jsonld
+++ b/src/test/resources/queries/bsp11.jsonld
@@ -104,7 +104,7 @@
     "@type": "korap:token", 
     "wrap": {
       "@type": "korap:termGroup", 
-      "operation": "operation:or",
+      "relation": "relation:or",
       "operands": [
         {
           "@type": "korap:term",