Fixing a transaction error with nHibernate integration