Update Convert-SvcTrigToSV.ps1

Switching a couple conditionals with -replace, not sure it improves performance, but it's easier to read the code.