Ensuring that TextReaction is before TextElement.