Deletes the index