Added support of logical expression to oneElementOf.