added not in query for search