Issue #18383: Avoid adding duplicate filters when warnings is reloaded

Based on patch by Alex Shkop.
3 files changed