The table of content was disappearing when the user was looking the version history then came back to the main document. This commit fixes this issue.
The table of content was disappearing when the user was looking the version history then came back to the main document. This commit fixes this issue.