Bug fix with running scans being put into scan_run