Fix typo breaking new_index code