Is there a need to reset `index-recursive-directories` here? If not, why is there a need for setting it in line 6?