diff --git a/fmn/web/templates/context.html b/fmn/web/templates/context.html
index d94b002..f225576 100644
--- a/fmn/web/templates/context.html
+++ b/fmn/web/templates/context.html
@@ -105,17 +105,18 @@
{{fltr.name}}
+ {% if fltr.oneshot %}
+
+ {% endif %}
{% if fltr.active %}
- {% if fltr.oneshot %}
-
- {% else %}
+ {% if not fltr.oneshot %}
+ {% endif %}
{% if filter.active %}
- {% if filter.oneshot %}
-
- {% else %}
+ {% if not filter.oneshot %}