Use peek instead of unwrapping observables in SelectionModel.prototype.cleanup

(cherry picked from commit 60261f47635716c2bb7adca0dd8b285f2990b59a)