Fix seg fault for sentence ending in PA

Authored by mtolly at github:
https://github.com/mtolly/jbofihe/commit/bf4cd5141ca73ea4a78efcbba6e516a3c9f4305e