diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc
index 1c437297d1..cd6e70a24e 100644
--- a/html/inc/db_ops.inc
+++ b/html/inc/db_ops.inc
@@ -312,8 +312,8 @@ SELECT case
else host.os_version
end AS OS_Version,
app_version_num AS App_Version,
- exit_status AS Exit_Status,
- COUNT(*) AS Error_Count
+ exit_status,
+ COUNT(*) AS error_count
FROM result
left join host on result.hostid = host.id
WHERE