Fixed bug in database session handler