Fixing nested headings.