Fix off-by-one in 'pvj'