anchor.diff:            <% 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%> 	
  +              <%unless color_counts.map{|k, v| v if v>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%>
                 <% %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) %>
  
positive.code:     </div>
    <% end %>
    <form id="filter_form" method="get" action="/compare">
      <% Session.features["filter"].each do |f| %>
        <div class="feature">
          <% case f.feature_type -%>
          <% when "Heading" -%>
            <%= render partial: 'filter_label', locals: {f: f} %>
            <div style="height: 7px"><!-- --></div>
          <% when "Spacer" -%>
            <div style="height: 17px"><!-- --></div>
          <% when "Categorical" -%>
  
negative.code:                 </div>
                <% end %>	
              <% end %> <%# getRanges.each %>
            <% else %> <%# Use sliders still, not ranges %>
              <%# Check continuous features for data, instead of greying them, we just don't show them %>
              <% distribution_data = getDist(f.name) -%>
              <% unless distribution_data.blank? %>
                <% 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} %>
                <% if distribution_data.first[2] == distribution_data.first[3] %>
                  <div class="disabled" style="margin: 4px 0 0 5px"><%= distribution_data.first[2] %> <span class="av_count">(<%=t 'specs.all' %>)</span></div>
                <% else %>
                  <div style="position:relative">
                    <div class="hist" data-data="<%= distribution_data.second.join(',') %>"></div>
                    <% current = Maybe(Session.search.userdataconts.select{|m|m.name == f.name}.first) -%>
                    <% step = calcInterval(distribution_data.first[2].floor,distribution_data.first[3].ceil) -%>
                    <% datamin = roundedInterval(distribution_data.first[2],step,true) -%>
                    <% datamax = roundedInterval(distribution_data.first[3],step,false) -%>
                    <% unit = t("#{Session.product_type}.filter.#{f.name}.unit", :default => '') %>
                    <%= hidden_field_tag "continuous[#{f.name}]", current.min.to_s+";"+current.max.to_s, {:class => 'range'}%>
                    <span class="sliderspan">
                      <input 
                        class="slider" 
                        type="slider" 
                        name="superfluous[<%= f.name %>]"
                        value="<%= [(current.min.nil? ? datamin : current.min),(current.max.nil? ? datamax : current.max)].join(";") %>"
                        data-step='<%= step %>'
                        data-min= '<%= datamin %>'
                        data-max= '<%= datamax %>'
                        data-distmin=<%= distribution_data.first[0] %>
                        data-distmax=<%= distribution_data.first[1] %>
                        <%# Take out data-unit for now. Needs logic for $ before/after, etc. %>
                        data-unit=<%= unit %>
                        disabled="disabled"/>
                    </span>
                  </div>
                <% end %><%# end distribution of more than one %>
              <% end %><%# end checking for non-blank distribution %>
            <% end %><%# end ranges %>
          <% when "Binary" %>
            <% dobj = Session.search.userdatabins.select{|udb| udb.name == f.name}.first %>
            <% unchecked = dobj.nil? || dobj.value == false %>
            <% available_count = BinSpec.count_feat(f.name) %>
            <% if available_count > 0 and !binary_heading.nil? %>
              <%= render partial: 'filter_label', locals: {f: binary_heading} %>
              <% binary_heading = nil %>
              <div style="height: 7px"><!-- --></div>
            <% end %>
            <div class="hanging_indent<%= ' invisible' if available_count == 0 %>" <%=raw 'style="font-weight:bold;"' unless unchecked %>>
              <%= check_box_tag "binary[#{f.name}]", "1", !unchecked ,:disabled => (available_count == 0 && unchecked) ? true : false, :class => 'binary_filter' %>
              <%= (available_count == 0) ? t("#{Session.product_type}.filter.#{f.name}.name", :default => f.name.capitalize) : link_to( t("#{Session.product_type}.filter.#{f.name}.name", :default => f.name.capitalize), "#", :class => "checkbox_text") %>
  