Thunar custom action does not work with uca.xml

I have this as a Thunar custom action.

zip -u -j %n.zip %F

It does not work when I use it with uca.xml.

But it works with other types of files.

What is wrong?