Search queries not working properly

We have added a search attribute called CustomId. And we are updating the value via TypeScript code.

We can see the value of the search attribute in the table UI of temporal, But when searched with advanced search or filter it is not working.
Following are the screenshots

  1. In table UI
  2. when searched the same value with filter. getting No workflows

What version of the server are you using and which persistence implementation?

Even we are facing this issue. Were you able to resolve it?
We are using server version - 1.22.0 and we have Elasticsearch enabled for our visibility store.