Fix for #1050; subsection parsing is now based on the presence of h1 elements within chapters rather than h1 elements within section tags.