Debug self reference in relationship copy #632