Added handling of sections before the first subpart