In our environment, 'EPSecurityService' belongs to Bitdefender, not SolarWindsMSP.
So this
SELECT 'SolarWindsMSP' AS AVName, ServiceId FROM services WHERE (`Name`='ManagedAntivirus' OR `Name`='EPSecurityService') UNION
Changed to this
SELECT 'SolarWindsMSP' AS AVName, ServiceId FROM services WHERE (`Name`='ManagedAntivirus') UNION
And this got added
SELECT 'Bitdefender' AS AVName, ServiceId FROM services WHERE (`Name` ='EPSecurityService') UNION