Fixes automatic creation of default session.