Add code to search for useless dict entry. Fix bug in html search.