Fix filter registration

We need to provide the number of arguments we expect.
Update to version 1.11