modify criteria to support swapped conditions.pass through the parent so that the condition can be generated
array contains clause works now. TODO: check if array equality works.