Fixed some style issues for reduceByAnd/Or