Data removed, but still exists

Hi,

I tidied up some telegraf data to remove old hosts using this code:

influx delete --bucket "BUCKET_HERE" --predicate "host=\"HOST_IM_DELETING\"" --o ORG --token "token_here==" --start 1970-01-01T00:00:00Z --stop $(date +"%Y-%m-%dT%H:%M:%SZ") --skip-verify --host "https://URL_HERE:8086"

When I use the Influxdb Data Explorer I can see that the information has gone, but for some reason they still exist within Grafana dashboard variables. Here’s the variable code:

import "influxdata/influxdb/schema"

schema.tagValues(bucket: "${bucket}", tag: "host")

How and where might it still be?

Is anyone able to help or point me in the right direction of where I can ask?