diff --git a/ippisite/ippidb/templates/multiselection_list_menu.html b/ippisite/ippidb/templates/multiselection_list_menu.html
index 6e4cdb2669578a95976f03032214b86b16744e2f..edcad43cb99a71f938911afeff542f396401ffd9 100644
--- a/ippisite/ippidb/templates/multiselection_list_menu.html
+++ b/ippisite/ippidb/templates/multiselection_list_menu.html
@@ -3,10 +3,10 @@
         <legend>{{ label }}
             {% if not all_param_value %}
               <a href="#" class="float-right text-light" title="Display all {{ label }}s" onclick="modifyUrl('{{ all_param_name }}',true);">[+]</a>
-              <input type="hidden" name="{{ all_param_name }}" value="{{ all_param_value }}" />
             {% endif %}
-            {% if all_param_value %}
+            {% if all_param_value == "true" %}
               <a href="#" class="float-right text-light" title="Show only top 5 {{ label }}s" onclick="modifyUrl('{{ all_param_name }}',null);">[-]</a>
+              <input type="hidden" name="{{ all_param_name }}" value="{{ all_param_value }}" />
             {% endif %}
         </legend>
     </div>