Remove unneeded sections from the index