Document Level Security not working

I have ODFE 1.2 configured. I have created a Local User, Role, Mapping and Custom tenant.

When I login with the local user, I can see the Dashboard in custom tenant. So far so good.

Now I wanted to add DLS. As soon as I configure, following DLSQ, the dashboard disappears and it says you don’t have any dashboards. If I remove below DLSQ, it starts to work again.

{
  "terms_set": {
    "geography": {
      "terms": [
        "${attr.internal.geography}"
      ],
      "minimum_should_match_script": {
        "source": "1"
      }
    }
  }
}

Can someone let me know what is it that I am doing wrong here.