Test include ids with unbalanced sections
Table of contents
Include 1
Section 1
Heading 2
Heading 3
Include 1
Heading 1
Heading 1
X2
Include 1a
Heading 2
Heading 2
X1
Section 1
X1
Heading 2
Heading 1
Section 2
X2
Heading 1