Fix off-by-one in progress