Fix bad nested headings.