Isn't that effectively the same as the blog post? You are just pushing the token filter to the sampling step.