Don't count statistics

I have some jobs that I don’t want to count in my hourly statistics (mostly scheduled jobs), they’re running every minute anyways and the higher numbers are drowning out actual trends in the data.

I tried removing the GlobalJobFilter of StatisticsHistoryAttribute (debugging it looks like that was successful)

Then I created a new GlobalJobFilter that has a StatisticsHistoryAttribute and it called the OnStateElection of that attribute when a job should count in the statistics, but for some reason the hourly stats are still increasing even for the jobs that my code doesn’t seem to be triggering.

I can’t figure this out, it’s like the global filter is still running even though I can examine the GlobalJobFilter in debug and see that it’s not there.