fix: off by one on last-log-index