implemented NCBO-794 - Longest Only in annotator appears broken