STS-3760. Trivial fix for AnnotationProposalComputer to return no
proposals in case of invalid string indexes.