Mentor previous sessions bug?

An off-by-one error?

Long running bug, discussed in several places I think.