Fix matchadd() in global/search.