Fix has_index docs