Correct indexing typos.