Fix typo in add_index spec