Fixed check for folderish types in language negotiator.