Use safe string comparisons in SMOF
Merge pull request #294 from Jeff-Lewis/master-for-pulls2

Use safe string comparisons in SMOF