Fixed cardinaltiy. Work on RQL where clause.