Fix crash in filetreeview when deleting torrents