Fixed a Relation bug.