Fixed nested vc bug
diff --git a/src/test/resources/wiki/00005.json b/src/test/resources/wiki/00005.json
index 56258cb..4b22290 100644
--- a/src/test/resources/wiki/00005.json
+++ b/src/test/resources/wiki/00005.json
@@ -1 +1 @@
-{"corpusID":"WPD","author":"","subTitle":"Die freie Enzyklopädie","pubDate":"20050328","fields":[{"primaryData":"Å ist der Name mehrerer Orte in Norwegen: Å i Andøy Å i Lofoten Å i Meldal Å i Åfjord"},{"name":"tokens","foundries":"mate mate/morpho mate/dependency treetagger treetagger/morpho corenlp corenlp/namedentities corenlp/namedentities/ne_dewac_175m_600 corenlp/namedentities corenlp/namedentities/ne_hgc_175m_600 connexor connexor/morpho connexor/syntax connexor/phrase base base/sentences base/paragraphs xip xip/morpho xip/constituency xip/dependency opennlp opennlp/morpho","data":[["s:Å","i:å","_0#0-1","-:token$<i>20","<>:s#0-41$<i>8","-:sentence$<i>5","<>:p#0-41$<i>8","-:paragraph$<i>5","opennlp/p:ADJD","cnx/l:Å","cnx/p:N","cnx/syn:@NH","tt/p:NE","tt/p:NN","tt/p:ADJD","mate/l:å","mate/p:XY","xip/p:ADV","xip/l:å","<>:xip/const:TOP#0-41$<i>8","<>:xip/const:MC#0-40$<i>8<b>1",">:xip/d:VMOD$<i>1"],["s:ist","i:ist","_1#2-5","opennlp/p:VAFIN","cnx/l:sein","cnx/p:V","cnx/m:IND","cnx/m:PRES","cnx/syn:@MAIN","tt/l:sein","tt/p:VAFIN","mate/l:sein","mate/p:VAFIN","mate/m:number:sg","mate/m:person:3","mate/m:tense:pres","mate/m:mood:ind","<:mate/d:SB$<i>3","<:mate/d:PD$<i>5","xip/p:VERB","xip/l:sein","<>:xip/const:VERB#2-5$<i>2","<:xip/d:VMOD$<i>0","xip/d:VMAIN","<:xip/d:SUBJ$<i>3"],["s:der","i:der","_2#6-9","opennlp/p:ART","cnx/l:der","cnx/p:DET","cnx/syn:@PREMOD","tt/l:die","tt/p:ART","mate/l:der","mate/p:ART","mate/m:case:nom","mate/m:number:sg","mate/m:gender:masc",">:mate/d:NK$<i>3","xip/p:DET","xip/l:der","<>:xip/const:NP#6-14$<i>4<b>2","<>:xip/const:DET#6-9$<i>3",">:xip/d:DETERM$<i>3"],["s:Name","i:name","_3#10-14","opennlp/p:NN","cnx/l:name","cnx/p:N","cnx/syn:@NH","<>:cnx/const:np#10-14$<i>4","tt/l:Name","tt/p:NN","mate/l:name","mate/p:NN","mate/m:case:nom","mate/m:number:sg","mate/m:gender:masc","<:mate/d:NK$<i>2",">:mate/d:SB$<i>1","xip/p:NOUN","xip/l:Name","<>:xip/const:NOUN#10-14$<i>4","<>:xip/const:NPA#10-14$<i>4<b>3","<:xip/d:DETERM$<i>2",">:xip/d:SUBJ$<i>1","<:xip/d:NMOD$<i>5"],["s:mehrerer","i:mehrerer","_4#15-23","opennlp/p:PIAT","cnx/l:mehrere","cnx/p:PRON","cnx/syn:@PREMOD","tt/l:mehrere","tt/p:PIS","mate/l:mehrere","mate/p:PIAT","mate/m:case:gen","mate/m:number:pl","mate/m:gender:masc",">:mate/d:NK$<i>5","xip/p:ADJ","xip/l:mehrere","<>:xip/const:ADJ#15-23$<i>5","<>:xip/const:NP#15-28$<i>6<b>2","<>:xip/const:NPA#15-28$<i>6<b>3","<>:xip/const:AP#15-23$<i>5<b>4",">:xip/d:NMOD$<i>5"],["s:Orte","i:orte","_5#24-28","opennlp/p:NN","cnx/l:ort","cnx/p:N","cnx/m:PL","cnx/syn:@NH","<>:cnx/const:np#24-40$<i>8","tt/l:Ort","tt/p:NN","mate/l:ort","mate/p:NN","mate/m:case:gen","mate/m:number:pl","mate/m:gender:masc","<:mate/d:NK$<i>4",">:mate/d:PD$<i>1","<:mate/d:MNR$<i>6","xip/p:NOUN","xip/l:Ort","<>:xip/const:NOUN#24-28$<i>6","<:xip/d:NMOD$<i>4",">:xip/d:NMOD$<i>3"],["s:in","i:in","_6#29-31","opennlp/p:APPR","cnx/l:in","cnx/p:PREP","cnx/syn:@POSTMOD","tt/l:in","tt/p:APPR","mate/l:in","mate/p:APPR",">:mate/d:MNR$<i>5","<:mate/d:NK$<i>7","xip/p:PREP","xip/l:in","<>:xip/const:PREP#29-31$<i>7","<>:xip/const:PP#29-40$<i>8<b>2"],["s:Norwegen","i:norwegen","_7#32-40","opennlp/p:NE","corenlp/ne_dewac_175m_600:I-LOC","corenlp/ne_hgc_175m_600:I-LOC","cnx/l:Norwegen","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/l:Norwegen","tt/p:NE","mate/l:norwegen","mate/p:NE","mate/m:case:dat","mate/m:number:sg","mate/m:gender:neut",">:mate/d:NK$<i>6","xip/p:NOUN","xip/l:Norwegen","<>:xip/const:NP#32-40$<i>8<b>3","<>:xip/const:NPA#32-40$<i>8<b>4","<>:xip/const:NOUN#32-40$<i>8","xip/d:LOC"],["s:Å","i:å","_8#42-43","<>:s#42-51$<i>11","<>:p#42-51$<i>11","opennlp/p:VVFIN","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","<>:cnx/const:np#42-51$<i>11","tt/p:NE","mate/l:å","mate/p:XY","xip/p:ADV","xip/l:å","<>:xip/const:TOP#42-85$<i>20","<>:xip/const:ADV#42-43$<i>9"],["s:i","i:i","_9#44-45","opennlp/p:APPR","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","mate/l:I","mate/p:XY","xip/p:SYMBOL","xip/l:i","<>:xip/const:SYMBOL#44-45$<i>10","<>:xip/const:NP#44-45$<i>10<b>1","<>:xip/const:NPA#44-45$<i>10<b>2","<>:xip/const:NOUN#44-45$<i>10<b>3"],["s:Andøy","i:andøy","_10#46-51","opennlp/p:NE","cnx/l:Andøy","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/p:NE","mate/l:andøy","mate/p:NE","xip/p:NOUN","xip/l:Andøy","<>:xip/const:NP#46-51$<i>11<b>1","<>:xip/const:NPA#46-51$<i>11<b>2","<>:xip/const:NOUN#46-51$<i>11"],["s:Å","i:å","_11#52-53","<>:s#52-63$<i>14","<>:p#52-63$<i>14","opennlp/p:NE","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","<>:cnx/const:np#52-63$<i>14","tt/p:NE","mate/l:å","mate/p:XY",">:mate/d:PNC$<i>12","xip/p:ADV","xip/l:å","<>:xip/const:ADV#52-53$<i>12"],["s:i","i:i","_12#54-55","opennlp/p:VAFIN","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","mate/l:I","mate/p:XY","<:mate/d:PNC$<i>11","xip/p:SYMBOL","xip/l:i","<>:xip/const:NP#54-55$<i>13<b>1","<>:xip/const:NPA#54-55$<i>13<b>2","<>:xip/const:NOUN#54-55$<i>13<b>3","<>:xip/const:SYMBOL#54-55$<i>13","<:xip/d:NMOD$<i>13"],["s:Lofoten","i:lofoten","_13#56-63","opennlp/p:NN","cnx/l:Lofoten","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/p:NE","mate/l:lofote","mate/p:NN","mate/m:case:dat","mate/m:number:pl","mate/m:gender:neut","xip/p:NOUN","xip/l:Lofoten","<>:xip/const:NOUN#56-63$<i>14","<>:xip/const:NP#56-63$<i>14<b>1","<>:xip/const:NPA#56-63$<i>14<b>2",">:xip/d:NMOD$<i>12"],["s:Å","i:å","_14#64-65","<>:s#64-74$<i>17","<>:p#64-74$<i>17","opennlp/p:NE","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","<>:cnx/const:np#64-85$<i>20","tt/p:NE","mate/l:å","mate/p:XY",">:mate/d:PNC$<i>15","xip/p:ADV","xip/l:å","<>:xip/const:ADV#64-65$<i>15"],["s:i","i:i","_15#66-67","opennlp/p:APPR","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","tt/l:i","tt/p:FM","mate/l:I","mate/p:XY","<:mate/d:PNC$<i>14","xip/p:SYMBOL","xip/l:i","<>:xip/const:SYMBOL#66-67$<i>16","<>:xip/const:NP#66-67$<i>16<b>1","<>:xip/const:NPA#66-67$<i>16<b>2","<>:xip/const:NOUN#66-67$<i>16<b>3","<:xip/d:NMOD$<i>16"],["s:Meldal","i:meldal","_16#68-74","opennlp/p:NE","cnx/l:meldal","cnx/p:N","cnx/syn:@NH","tt/p:NN","tt/p:NE","mate/l:meldal","mate/p:NN","xip/p:NOUN","xip/l:Meldal","<>:xip/const:NP#68-74$<i>17<b>1","<>:xip/const:NPA#68-74$<i>17<b>2","<>:xip/const:NOUN#68-74$<i>17",">:xip/d:NMOD$<i>15"],["s:Å","i:å","_17#75-76","<>:s#75-85$<i>20","<>:p#75-85$<i>20","opennlp/p:NE","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","tt/p:NE","mate/l:å","mate/p:XY","xip/p:ADV","xip/l:å","<>:xip/const:ADV#75-76$<i>18"],["s:i","i:i","_18#77-78","opennlp/p:APPR","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","mate/l:I","mate/p:XY","xip/p:SYMBOL","xip/l:i","<>:xip/const:NP#77-78$<i>19<b>1","<>:xip/const:NPA#77-78$<i>19<b>2","<>:xip/const:NOUN#77-78$<i>19<b>3","<>:xip/const:SYMBOL#77-78$<i>19","<:xip/d:NMOD$<i>19"],["s:Åfjord","i:åfjord","_19#79-85","opennlp/p:NE","cnx/l:Åfjord","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/p:NE","tt/p:NN","mate/l:åfjord","mate/p:NE","xip/p:NOUN","xip/l:Åfjord","<>:xip/const:NP#79-85$<i>20<b>1","<>:xip/const:NPA#79-85$<i>20<b>2","<>:xip/const:NOUN#79-85$<i>20",">:xip/d:NMOD$<i>18"]],"tokenization":"opennlp#tokens"}],"ID":"WPD_AAA.00005","textClass":"freizeit-unterhaltung reisen schrott tabellen","title":"Wikipedia"}
\ No newline at end of file
+{"title":"Wikipedia","fields":[{"primaryData":"Å ist der Name mehrerer Orte in Norwegen: Å i Andøy Å i Lofoten Å i Meldal Å i Åfjord"},{"tokenization":"opennlp#tokens","data":[["s:Å","i:å","_0#0-1","-:tokens$<i>20","<>:s#0-41$<i>8","-:sentences$<i>5","<>:p#0-41$<i>8","-:paragraphs$<i>5","opennlp/p:ADJD","cnx/l:Å","cnx/p:N","cnx/syn:@NH","tt/p:NE","tt/p:NN","tt/p:ADJD","mate/l:å","mate/p:XY","xip/p:ADV","xip/l:å","<>:xip/const:TOP#0-41$<i>8","<>:xip/const:MC#0-40$<i>8<b>1",">:xip/d:VMOD$<i>1"],["s:ist","i:ist","_1#2-5","opennlp/p:VAFIN","cnx/l:sein","cnx/p:V","cnx/m:IND","cnx/m:PRES","cnx/syn:@MAIN","tt/l:sein","tt/p:VAFIN","mate/l:sein","mate/p:VAFIN","mate/m:number:sg","mate/m:person:3","mate/m:tense:pres","mate/m:mood:ind","<:mate/d:SB$<i>3","<:mate/d:PD$<i>5","xip/p:VERB","xip/l:sein","<>:xip/const:VERB#2-5$<i>2","<:xip/d:VMOD$<i>0","xip/d:VMAIN","<:xip/d:SUBJ$<i>3"],["s:der","i:der","_2#6-9","opennlp/p:ART","cnx/l:der","cnx/p:DET","cnx/syn:@PREMOD","tt/l:die","tt/p:ART","mate/l:der","mate/p:ART","mate/m:case:nom","mate/m:number:sg","mate/m:gender:masc",">:mate/d:NK$<i>3","xip/p:DET","xip/l:der","<>:xip/const:DET#6-9$<i>3","<>:xip/const:NP#6-14$<i>4<b>2",">:xip/d:DETERM$<i>3"],["s:Name","i:name","_3#10-14","opennlp/p:NN","cnx/l:name","cnx/p:N","cnx/syn:@NH","<>:cnx/const:np#10-14$<i>4","tt/l:Name","tt/p:NN","mate/l:name","mate/p:NN","mate/m:case:nom","mate/m:number:sg","mate/m:gender:masc","<:mate/d:NK$<i>2",">:mate/d:SB$<i>1","xip/p:NOUN","xip/l:Name","<>:xip/const:NOUN#10-14$<i>4","<>:xip/const:NPA#10-14$<i>4<b>3","<:xip/d:DETERM$<i>2",">:xip/d:SUBJ$<i>1","<:xip/d:NMOD$<i>5"],["s:mehrerer","i:mehrerer","_4#15-23","opennlp/p:PIAT","cnx/l:mehrere","cnx/p:PRON","cnx/syn:@PREMOD","tt/l:mehrere","tt/p:PIS","mate/l:mehrere","mate/p:PIAT","mate/m:case:gen","mate/m:number:pl","mate/m:gender:masc",">:mate/d:NK$<i>5","xip/p:ADJ","xip/l:mehrere","<>:xip/const:ADJ#15-23$<i>5","<>:xip/const:NP#15-28$<i>6<b>2","<>:xip/const:NPA#15-28$<i>6<b>3","<>:xip/const:AP#15-23$<i>5<b>4",">:xip/d:NMOD$<i>5"],["s:Orte","i:orte","_5#24-28","opennlp/p:NN","cnx/l:ort","cnx/p:N","cnx/m:PL","cnx/syn:@NH","<>:cnx/const:np#24-40$<i>8","tt/l:Ort","tt/p:NN","mate/l:ort","mate/p:NN","mate/m:case:gen","mate/m:number:pl","mate/m:gender:masc","<:mate/d:NK$<i>4",">:mate/d:PD$<i>1","<:mate/d:MNR$<i>6","xip/p:NOUN","xip/l:Ort","<>:xip/const:NOUN#24-28$<i>6","<:xip/d:NMOD$<i>4",">:xip/d:NMOD$<i>3"],["s:in","i:in","_6#29-31","opennlp/p:APPR","cnx/l:in","cnx/p:PREP","cnx/syn:@POSTMOD","tt/l:in","tt/p:APPR","mate/l:in","mate/p:APPR",">:mate/d:MNR$<i>5","<:mate/d:NK$<i>7","xip/p:PREP","xip/l:in","<>:xip/const:PREP#29-31$<i>7","<>:xip/const:PP#29-40$<i>8<b>2"],["s:Norwegen","i:norwegen","_7#32-40","opennlp/p:NE","corenlp/ne_dewac_175m_600:I-LOC","corenlp/ne_hgc_175m_600:I-LOC","cnx/l:Norwegen","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/l:Norwegen","tt/p:NE","mate/l:norwegen","mate/p:NE","mate/m:case:dat","mate/m:number:sg","mate/m:gender:neut",">:mate/d:NK$<i>6","xip/p:NOUN","xip/l:Norwegen","<>:xip/const:NOUN#32-40$<i>8","<>:xip/const:NP#32-40$<i>8<b>3","<>:xip/const:NPA#32-40$<i>8<b>4","xip/d:LOC"],["s:Å","i:å","_8#42-43","<>:s#42-51$<i>11","<>:p#42-51$<i>11","opennlp/p:VVFIN","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","<>:cnx/const:np#42-51$<i>11","tt/p:NE","mate/l:å","mate/p:XY","xip/p:ADV","xip/l:å","<>:xip/const:TOP#42-85$<i>20","<>:xip/const:ADV#42-43$<i>9"],["s:i","i:i","_9#44-45","opennlp/p:APPR","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","mate/l:I","mate/p:XY","xip/p:SYMBOL","xip/l:i","<>:xip/const:NP#44-45$<i>10<b>1","<>:xip/const:NPA#44-45$<i>10<b>2","<>:xip/const:NOUN#44-45$<i>10<b>3","<>:xip/const:SYMBOL#44-45$<i>10"],["s:Andøy","i:andøy","_10#46-51","opennlp/p:NE","cnx/l:Andøy","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/p:NE","mate/l:andøy","mate/p:NE","xip/p:NOUN","xip/l:Andøy","<>:xip/const:NP#46-51$<i>11<b>1","<>:xip/const:NPA#46-51$<i>11<b>2","<>:xip/const:NOUN#46-51$<i>11"],["s:Å","i:å","_11#52-53","<>:s#52-63$<i>14","<>:p#52-63$<i>14","opennlp/p:NE","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","<>:cnx/const:np#52-63$<i>14","tt/p:NE","mate/l:å","mate/p:XY",">:mate/d:PNC$<i>12","xip/p:ADV","xip/l:å","<>:xip/const:ADV#52-53$<i>12"],["s:i","i:i","_12#54-55","opennlp/p:VAFIN","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","mate/l:I","mate/p:XY","<:mate/d:PNC$<i>11","xip/p:SYMBOL","xip/l:i","<>:xip/const:NP#54-55$<i>13<b>1","<>:xip/const:NPA#54-55$<i>13<b>2","<>:xip/const:NOUN#54-55$<i>13<b>3","<>:xip/const:SYMBOL#54-55$<i>13","<:xip/d:NMOD$<i>13"],["s:Lofoten","i:lofoten","_13#56-63","opennlp/p:NN","cnx/l:Lofoten","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/p:NE","mate/l:lofote","mate/p:NN","mate/m:case:dat","mate/m:number:pl","mate/m:gender:neut","xip/p:NOUN","xip/l:Lofoten","<>:xip/const:NOUN#56-63$<i>14","<>:xip/const:NP#56-63$<i>14<b>1","<>:xip/const:NPA#56-63$<i>14<b>2",">:xip/d:NMOD$<i>12"],["s:Å","i:å","_14#64-65","<>:s#64-74$<i>17","<>:p#64-74$<i>17","opennlp/p:NE","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","<>:cnx/const:np#64-85$<i>20","tt/p:NE","mate/l:å","mate/p:XY",">:mate/d:PNC$<i>15","xip/p:ADV","xip/l:å","<>:xip/const:ADV#64-65$<i>15"],["s:i","i:i","_15#66-67","opennlp/p:APPR","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","tt/l:i","tt/p:FM","mate/l:I","mate/p:XY","<:mate/d:PNC$<i>14","xip/p:SYMBOL","xip/l:i","<>:xip/const:NP#66-67$<i>16<b>1","<>:xip/const:NPA#66-67$<i>16<b>2","<>:xip/const:NOUN#66-67$<i>16<b>3","<>:xip/const:SYMBOL#66-67$<i>16","<:xip/d:NMOD$<i>16"],["s:Meldal","i:meldal","_16#68-74","opennlp/p:NE","cnx/l:meldal","cnx/p:N","cnx/syn:@NH","tt/p:NN","tt/p:NE","mate/l:meldal","mate/p:NN","xip/p:NOUN","xip/l:Meldal","<>:xip/const:NP#68-74$<i>17<b>1","<>:xip/const:NPA#68-74$<i>17<b>2","<>:xip/const:NOUN#68-74$<i>17",">:xip/d:NMOD$<i>15"],["s:Å","i:å","_17#75-76","<>:s#75-85$<i>20","<>:p#75-85$<i>20","opennlp/p:NE","cnx/l:Å","cnx/p:N","cnx/syn:@PREMOD","tt/p:NE","mate/l:å","mate/p:XY","xip/p:ADV","xip/l:å","<>:xip/const:ADV#75-76$<i>18"],["s:i","i:i","_18#77-78","opennlp/p:APPR","cnx/l:i","cnx/p:N","cnx/syn:@PREMOD","tt/l:i","tt/p:NE","mate/l:I","mate/p:XY","xip/p:SYMBOL","xip/l:i","<>:xip/const:NP#77-78$<i>19<b>1","<>:xip/const:NPA#77-78$<i>19<b>2","<>:xip/const:NOUN#77-78$<i>19<b>3","<>:xip/const:SYMBOL#77-78$<i>19","<:xip/d:NMOD$<i>19"],["s:Åfjord","i:åfjord","_19#79-85","opennlp/p:NE","cnx/l:Åfjord","cnx/p:N","cnx/m:Prop","cnx/syn:@NH","tt/p:NE","tt/p:NN","mate/l:åfjord","mate/p:NE","xip/p:NOUN","xip/l:Åfjord","<>:xip/const:NP#79-85$<i>20<b>1","<>:xip/const:NPA#79-85$<i>20<b>2","<>:xip/const:NOUN#79-85$<i>20",">:xip/d:NMOD$<i>18"]],"foundries":"xip xip/morpho xip/constituency xip/dependency corenlp corenlp/namedentities corenlp/namedentities/ne_dewac_175m_600 corenlp/namedentities corenlp/namedentities/ne_hgc_175m_600 connexor connexor/morpho connexor/syntax connexor/phrase opennlp opennlp/morpho treetagger treetagger/morpho mate mate/morpho mate/dependency base base/sentences base/paragraphs","name":"tokens"}],"subTitle":"Die freie Enzyklopädie","corpusID":"WPD","pubDate":"20050328","textClass":"freizeit-unterhaltung reisen schrott tabellen","ID":"WPD_AAA.00005","author":""}
\ No newline at end of file