Bugfix

There was a warning while displaying the TOC if a heading had no parent
node