Fix NH-3221

Formula in Many-To-One in Composite-Element in a Set gives a columnCastException. After that was resolved, the qualify method gave an exception => NullreferenceException

https://nhibernate.jira.com/browse/NH-3221