anchor.diff:                </div>
               </div>
             <% else %>
  -			<%= render partial: 'filter_label', locals: {f: f} %>
               <%# Bring the chosen products to the top, while preserving the previous ordering (ordered highest count to lowest) %>
               <% optionlist, toplist = cat_order(f, chosen_cats) %>
  -            <% expanded = Session.search.expanded.try{|b| b.include?(f.name)} %>
  -            <div class="categorical">
  -              <%= render partial: "cat_option", collection: optionlist.to_a, locals: {chosen_cats: chosen_cats, f: f, expanded: expanded, toplist: toplist} %>
  -              <%= link_to t('products.compare.more'), "#", {class: "moreless", style: expanded ? 'display:none;' : ''} unless toplist.empty? %>
  -              <%= link_to t('products.compare.less'), "#", {class: "moreless", style: expanded ? '' : 'display:none;'} unless toplist.empty? %>
  -            </div>
  -            <%= hidden_field_tag "expanded[#{f.name}]", expanded %>
  +            <% unless optionlist.empty? %>
  +              <% unless binary_heading.nil? %>
  +                <%= render partial: 'filter_label', locals: {f: binary_heading} %>
  +                <% binary_heading = nil %>
  +                <div style="height: 7px"><!-- --></div>
  +              <% end %>
  +              <%= render partial: 'filter_label', locals: {f: f} %>            
  +              <% expanded = Session.search.expanded.try{|b| b.include?(f.name)} %>
  +              <div class="categorical">
  +                <%= render partial: "cat_option", collection: optionlist.to_a, locals: {chosen_cats: chosen_cats, f: f, expanded: expanded, toplist: toplist} %>
  +                <%= link_to t('products.compare.more'), "#", {class: "moreless", style: expanded ? 'display:none;' : ''} unless toplist.empty? %>
  +                <%= link_to t('products.compare.less'), "#", {class: "moreless", style: expanded ? '' : 'display:none;'} unless toplist.empty? %>
  +              </div>
  +              <%= hidden_field_tag "expanded[#{f.name}]", expanded %>
  +            <% end %>
             <% end %> <%# else %>
           <% when "Continuous" %>	
             <% if f.ui == "ranges" %>
               <% chosen_conts = chosenconts(f.name) %>
               <%ranges = getRanges(f.name)%>
               <%displayed_ranges = displayRanges(f.name, ranges)%>
  -			<%unless displayed_ranges.map{|dr| 1 if dr[:count]>0}.compact.empty?%>
  -				<%= render partial: 'filter_label', locals: {f: f} %>
  -			<%end%>	
  +            <%unless displayed_ranges.map{|dr| 1 if dr[:count]>0}.compact.empty?%>
  +              <% unless binary_heading.nil? %>
  +                <%= render partial: 'filter_label', locals: {f: binary_heading} %>
  +                <% binary_heading = nil %>
  +                <div style="height: 7px"><!-- --></div>
  +              <% end %>
  +              <%= render partial: 'filter_label', locals: {f: f} %>
  +            <% end %>	
               <% displayed_ranges.each do |dr| %>
                 <% checked = chosen_conts.include?({:min => dr[:min], :max => dr[:max]}) %>
                 <% available_count = dr[:count]%>
  
positive.code:           <% if f.name == "color" # TODO: should not be hard code here%>
              <div style="margin-right: -4px;margin-top: 4px;">
                <% color_counts = CatSpec.count_feat("color") %>
  			  <%unless color_counts.map{|k, v| v if v>0}.compact.empty?%>
  				<%= render partial: 'filter_label', locals: {f: f} %>
  			  <%end%> 	
                <% %w(red orange yellow green blue purple pink white silver brown black).zip(
                   %w(l   l       l       d   d     d     l     l     l     d     d    )).each do |color,brightness| %>
                  <% next if color_counts[color].nil? && !chosen_cats.include?(color) %>
  
negative.code:     </div>
    <% end %>
    <form id="filter_form" method="get" action="/compare">
      <% binary_heading = nil %>
      <% Session.features["filter"].each do |f| %>
        <div class="feature">
          <% case f.feature_type -%>
          <% when "Heading" -%>
            <% binary_heading = f %>
          <% when "Spacer" -%>
            <div style="height: 17px"><!-- --></div>
          <% when "Categorical" -%>
  