Fixed bug where a label under a label counted as a section