Added protection for no finished torrents