The previous query would return back that it isnt performing a sync if any of the 4 sync states were reporting 0, therefore the alert would be fired even if there are syncs happening.
Fix:
Test plan
Ran the updated query against my local environment.