Fix custom filter
some fixes for custom filters.
I added the security label because the current mixin order circumvents permission checking.
some fixes for custom filters.
I added the security label because the current mixin order circumvents permission checking.