Merge pull request #1 from kinow/fix-OPENNLP-985

OPENNLP-985: fix an if statement that always returned true.