First, in the future consider opening a new thread. The thread you reopened is discussing calibre as it existed 30 versions ago.
Originally Posted by jpaulm
I thought checking "Do not add detected chapters to the Table of Contents" would fix this, but no luck! Is this a bug in Calibre? TIA
In addition to checking Do not add detected chapters to the Table of Contents
try changing the Number of links to add to Table of Contents