Fixed a mistake in logic in SessionReader

71 jobs for !1154 with ticket/backup_checkpoint_209 in 120 minutes and 45 seconds (queued for 11 seconds)
merge request