diff --git a/src/FACT_jobs.jl b/src/FACT_jobs.jl
index 4822223cfb22df85113ad418d9165de11179979d..e4189ea3100b6e046678a7d588f4792e2f8ab9d0 100644
--- a/src/FACT_jobs.jl
+++ b/src/FACT_jobs.jl
@@ -98,7 +98,7 @@ function us_qcew(conn::MySQL.Connection, selection::Dict)
         # execute
         result = query_connection(conn, query)
         # Check if the 'industry' column exists
-        if !(:industry in names(result))
+        if !("industry" in names(result))
             println(result)
             println("No data returned for query with GeoID = $full_id and Year = $year and AND Agglvl_code = $agglvl_code.")
             # Initialize `result` with the expected columns but no rows