fixed assert when adding a torrent with resume data and immediately setting all piece priorities to 0
fixed assert when adding a torrent with resume data and immediately setting all piece priorities to 0

deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent,deluge-clone/libtorrent