Change reduceByAnd/Or to just and/or