Fix off-by-one

https://github.com/lestrrat/peco/commit/6f4e89e78792c209b16c829a4c26ca6fa64cf5e5#commitcomment-6706530