bug in search result query