Fixed small bug introduced in Session