Fixes #4669 do not use newer nextIf method in rendertokenparser.