I did, but I just tried again and this time it worked! Much better at 0.2s, I think.
I have to agree with @Frankb that long press should trigger once the time threshold has elapsed rather than upon release. Far more intuitive.
As things stand, I think the only real advantages of my template are that you can add unlimited tap numbers (not that I can imagine wanting more than three), the long press behaviour is arguably better and the tap speed can be defined by the user.
I've added an updated and improved version at the top here: