Alerting: Fix pq: missing FROM-clause for table "a" (#56453)
Alerting: Fix pq: missing FROM-clause for table "a" (#56453)

This commit fixes a bug where changing the Folder or Rule Group of an existing rule returns the following error in PostgreSQL "pq: missing FROM-clause for table a"
grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana