diff --git a/lib/html/includes.js b/lib/html/includes.js
index 4b57ad9f..ddeb50e7 100644
--- a/lib/html/includes.js
+++ b/lib/html/includes.js
@@ -1179,6 +1179,7 @@ var _MiniProfiler = (function() {
reqs = 0;
totalTime = 0;
+ totalSqlCount = 0;
expandedResults = false;
toArray(
document.querySelectorAll(".profiler-results .profiler-result")