Fix for search result counter