Remove extra if when adding CeleryFilter, addFilter already handles it