Fix currentSession()

Authored by mglb on Oct 23 2019, 12:26 AM.