don't apply relation conditions when there is more than one hasMany relation.