Add index clearing