Alarms and template variables in queries

Hi,

I used to have a template variable that had the name of the data source table. The type was constant.
I used that in the query of the graphs. It worked fine. All graphs have been drawn and displayed as expected.

SELECT mean("vcc") FROM /^$source$/ WHERE $timeFilter GROUP BY time($__interval) fill(null)

But when I set an alarm no condition was ever met.

Then I replaced the variable in the query by its value. Then, but only then, the alarms reacted and fired.

SELECT mean("vcc") FROM "n-s-006" WHERE $timeFilter GROUP BY time($__interval) fill(null)

I assume that the alarms do not resolve the template variables on checking the set condition in alarm config. I think this is a flaw. Is there a possibility to fix that?

Thank you,
Alex