Minor fixes for hlsearch.