Try to fix the table of contents not generating nested li elements