DDF-620: Add additions to support logical operations on wfs 2.0.