Fix setting of session date