Fixes crash when adding torrent without resume data