Thanks, Bastien! I’ll give that a shot.
Just ran across this thread because I was having the exact same problem. I can see that the filter is supposed to change the category, but having a hard time visualizing it. In the example function posted, what would go in the // Do stuff section?
That function absolutely did the trick! Thank you!