logic error in initial check for multi-file torrents