Fix malformed if expression
Merge pull request #1482 from JeffPyeBrook/pr-fix-malformed-expression

Fix malformed if expression