**What happened**:Query builder is switching labels after removing a filter **What you expected to happen**: Keep labels the same/dont change **How to reproduce it (as minimally and precisely as possible)**: screenshots attached **Screenshots** <img width="3160" height="1120" alt="Image" src="https://github.com/user-attachments/assets/303d99ae-3df4-4dd4-87d7-700ca243d13a" /> <img width="3170" height="1180" alt="Image" src="https://github.com/user-attachments/assets/4ceee02b-25a4-43bd-8066-730377b66b3b" /> **Anything else we need to know?**: **Environment**: - Grafana version: Grafana Cloud - Plugin version: latest - OS Grafana is installed on: - User OS & Browser:Chrome