diff --git a/inventory_provider/db/opsdb.py b/inventory_provider/db/opsdb.py
index 53486f897769dca43c8610c67b21fee02b1d6e4e..980bc73ca0f6612bd081f0678e3f014a576ede50 100644
--- a/inventory_provider/db/opsdb.py
+++ b/inventory_provider/db/opsdb.py
@@ -31,7 +31,7 @@ equipment_location_query = """SELECT
 geant_lambda_sql = """SELECT
                       absid AS id,
                       name,
-                      LOWER(status)
+                      LOWER(status) AS status
                     FROM circuit
                     WHERE
                     status != 'terminated'