ensure `getSpannableTextFromIndices` doesn't return `null`