Fix crash when deleting a completed download

Resolve a crash introduced by mistakenly removing a check to see if a
download is waiting or in progress in 17dc36bfeb6a6b71bb0fb4059eaaaeec8bc0