* fix: correctly delete sessions created before 2.42 * fix test * fix linting * fixes requested from review