bug 60288: remove defensive copy for internal relationships. Patch from Tim Helmstedt. This closes #38.