Fixed issue when removing torrent