as mentioned in the previous comment there is a bug in nHibernate. It is already fixed but not yet included in an official version.
https://nhibernate.jira.com/browse/NH-3281
You can download the main source and build the dll manually from https://github.com/nhibernate/nhibernate-core .
Michael