Fix index error

https://github.com/lazlolazlolazlo/rc_openpgpjs/commit/874030b913df372c0aa1854784d5fb96c5b5c2a7