Events conflict so piston run twice

triggers

#1

1) Give a description of the problem
I pass 2 variables within the piston url at the same time. I set the corresponding global variable to those values. But I have an event to detect if any of those variable have changed.

2) What is the expected behaviour?
piston run one time

3) What is happening/not happening?
piston run twice (both variable change so should have a delay between the 2 variables so the first one trigger the event and the second one also)

I got same log with respectives variable. I would like to be able to not execute an event if the other one have been trigger within the last 5 secondes or something. Maybe with cancellation rules?
Thanks!