Table of Contents skips last few chapters for no apprent reason
I have a book with 31 chapters. When I make a table of content, it only shows 26 chapters in the TOC. I have checked chapter 27 and the rest and all headings have the same styling as previous. Updating the TOC does not help. Deleting and creating a brand new TOC does not help either. Looked at the TOC in story editior, it also only shows 26 chapters as if the rest do not exist.


I am wondering if any one has a solution to this?
Thanks.