Number condition in automation

In my automation added a condition to check if another automation was running before proceeding. The attribute Current should be 0 (in the automation GUI it appears as ‘Running automations’ for some reason). It fails as the the wanted_state is ‘0’. How do I get this to work? It looks like it is comparing a number to a string. I feel like it must be obvious but I haven’t found anything in the Conditions manual page or by searching.

Sometimes the answer is obvious.

I entered into the automation yaml and removed the quotes around the 0.