[BUGFIX] Correctly check stack in DownloadQueue