BUG Fix access to protected Session::current_session()
Fixes #3144
Merge pull request #3145 from tractorcow/pulls/3.1/fix-choose-stage

BUG Fix access to protected Session::current_session()