If the "view" is not "as list" but "as columns" then it will select the wrong file and it won't work. (This is visible by changing the view to "as columns" and running the mail merge integration tests)