NH-3624

fix for https://nhibernate.jira.com/browse/NH-3624