Fixed NullReferenceExcception in RelationToClients.