The filtered events were still processed even though they shouldn't once we know that they're filtered. Fixes #4048.