HHH-7928 - Regression caused by HHH-6361
(cherry picked from commit cb1b9a05af20713a7d673c0a4fa0536a6a4792c1)

Conflicts:

	hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/BadMergeHandlingTest.java