Used parentheses to control ternary operator precedence.  Fixes issue 18
Used parentheses to control ternary operator precedence.  Fixes issue 18

--HG--
branch : mainline
extra : transplant_source : %9F%93%DD%FE%EA%7C%25%FF%F5%A5%0C%F0%09%12%82%CA%F3%B9%20Z

zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform