Removed superfluous foreach from highlightSearch()