Fixup index handling in documentation.