diff --git a/instances/templates/instances.html b/instances/templates/instances.html
index e9c2306..67d219a 100644
--- a/instances/templates/instances.html
+++ b/instances/templates/instances.html
@@ -39,7 +39,7 @@
{% ifequal view_style "nongrouped" %}
{% include 'instances_nongrouped.html' %}
{% endifequal %}
- {% ifequal view_style 'instances_grouped.html' %}
+ {% ifequal view_style "grouped" %}
{% include 'instances_grouped.html' %}
{% endifequal %}
{% endif %}