Make TextCheckingParagraph.subrange() handles null position returned by endSentence() in multiple chunks case in SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar()