Handle the case where the text is only one byte long. We shouldn't use
the two-byte filter there, as we'll overrun the end of the text.