!rollback: Fix off-by-one error.

(cherry picked from commit 329fca1755ff0c3a30579b2ac3a43f2995eaf0ff)