[DDC-2363] Duplicated record with orphanRemoval and proxy

See http://www.doctrine-project.org/jira/browse/DDC-2363.