fixed loading duplicate relationships #231