Fix crash when no results in 'name and block' search.