Don't show an empty results box if the only "results" are raw HTML

This fixes a minor display regression introduced by f84d637.