Fix an issue with starting sessions