Get rid of comma separators in filters

I have a year filter which is a number list. It keeps using commas to separate the numbers.

I’ve tried setting localization to not have commas which didn’t help (and shouldn’t be the way to fix it anyway because I want currencies to have 1000 separators.)

I’ve tried making the underlying data field not have 1000 separators but that doesn’t change it. Dropdowns seem to ignore all number formats.

It looks like legends do the same:

Even though that field has been configured to not have , separators.

That is currently a Bug:

One way to workaround that should be casting it to Text