Fix mode typo when running analyze_all() without dry_run.