Added a relation condition