Update Index removing everything before TOC

Any time I select Update Index on my table of contents, it deletes everything on the document before the TOC. How can I stop this?

Are you sure that “everything on the document before the TOC” was not actually written inside the ToC that you previously unlocked?