Fixed hibernate sessions