Fixed Hibernate session problems (again)