Fixed missing replacement for language session cleanup