Bug fix: search result count inaccuracy