I don't understand why you are adding the filter to the grailsApplication every time getWiredFiltersDefinition is called