Added a case when cascade=orphan & collection is dereferenced while merge.