Fix trans2findfirst for the large directory optimization