Sorry for the long path to get here.
The filter should be working, I use these filters in plugins all the time. The issue here is that something is causing your setting to be ignored. The only thing that I can think of is that some other filter is altering the field again after your filter.