Making sure at least forward ranges yielded for text end contexts are valid.
Adding more comments.