Minor fix in index while parsing.
No side effects.