Fixes the EOF tokenize function which was resulting in duplicate text nodes inside block helpers.