Added createCriterion for <IN> and <OUT> operators