implement IN and NOT IN in Query class