diff --git a/templates/table.html b/templates/table.html
index 8183f8af..0a9d5306 100644
--- a/templates/table.html
+++ b/templates/table.html
@@ -5,7 +5,7 @@
{% block content %}
-{{ table }} ({{ total_rows }} total row{% if total_rows == 1 %}{% else %}s{% endif %} in this table)
+{{ table }}{% if total_rows != None %} ({{ total_rows }} total row{% if total_rows == 1 %}{% else %}s{% endif %} in this table){% endif %}