Fix bug in nhibernate config