Modify RelationQuery init