Fix handling of nohlsearch