Issue #2364173 by alexpott: Fixed Remove dead code for session-test/set-not-started.