Custom actions: sometimes visible -> not working

Hi,

I have a custom action that should trigger only if an order has 1 item in it.

The problem is that when I put the “sometimes happens” → items in this order = 1, then the custom action won’t trigger. Has someone experienced similar issues when trying to filter actions based on “count” or number = X ?

The custom action works fine when it’s set to “always happens”.

Here’s the video I sent to support in case someone knows an alternative way of solving it: https://yac.com/play/F7qci_bJJ

Cheers,
Axel