Fix bug with asset pipeline.

Check path filters before appendind button content to request body.