I created a filter and pinned it but it's not taking effect in my visualization.

My filter looks like this:

    {
      "query": {
        "bool": {
          "should": [
            {
              "exists": {
                "field": "field1"
              }
            },
            {
              "exists": {
                "field": "field2"
              }
            }
          ]
        }
      }
    }

It works in my Discover tab but when I head over and use the same filter for my visualization, it's not working anymore.

I also tried doing it as a saved search and linking that to a visualization but it also doesn't work.

Am I missing something here?

I would appreciate any advice.

Edit: I'm running version 5.3.2

---
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB