Prevent filters from running when they're not supposed to