Variable with "All" stoped to work on 1.13.* Grafana

We are using PostgreSQL as a data source for our dashboard. In our query, we pass a variable namespace that supports multi-select and has an option for all. Everything worked perfectly on 1.12., but after updating to version 1.13., the query broke. Specifically, it no longer works when the all option is selected, but it continues to work if multiple specific values are selected.

in the PostgreSQL we are getting values like:

where
$__timeFilter(event_ts)
AND au.namespace in ($namespace)

Something was changed in the 1.13.* version, can someone help or check if it is not a bug?

can you show us the result of the “Query inspector” ?.
Think you mean 11.2 and 11.3…