Fix an issue where table of contents were not revalidated on client-side transition