Modified the query to reject instead of find and then search