Fix torrent adding and removing