TOC: fix failure for subsequent headers of the same level
TOC: fix failure for subsequent headers of the same level

rbecheras/tinymce,adaptiffdesigns/tinymce,leofeyer/tinymce,ETSI-CTI/TinySpecMCE,ETSI-CTI/TinySpecMCE,rbecheras/tinymce,MediehusetTek/tinymce,tinymce/tinymce,aduth/tinymce,fillabs/TinySpecMCE,adaptiffdesigns/tinymce,ikuchmin/tinymce,blakewallan/tinymce,FernCreek/tinymce,aduth/tinymce,jtark/tinymce,blakewallan/tinymce,danielpunkass/tinymce,fillabs/TinySpecMCE,leofeyer/tinymce,danielpunkass/tinymce,tinymce/tinymce,gencer/tinymce,ikuchmin/tinymce,jtark/tinymce,gencer/tinymce,tinymce/tinymce,TeamupCom/tinymce,danielpunkass/tinymce,MediehusetTek/tinymce,FernCreek/tinymce,FernCreek/tinymce,TeamupCom/tinymce