Refactoring the notifierConfig filter