fix off-by-one error in ptop reindexer