Fix active downloads check