Fix table of contents selector.