A couple of fixes to in range_limit_distro_facets.

1 commit to fix a JS error on search results
1 commit to remove unescaped HTML in tooltip