Fix indexing typo