Fix index spec