Reset the TOC header count after a render (closes #147)