Fix ConvertDirectoryIterator