NH-3383: Fix for multiple objects of CascadeStyle in Memory that should be singleton

Description is in the JIRA issue: https://nhibernate.jira.com/browse/NH-3383