When building TOC if a content heading is inside a table it does not show in the navigation pane.
https://i.stack.imgur.com/ByIVY.png