Fix to have thread name include type of search