Ternary operator has syntax error. Fixed.
Merge pull request #21 from icebourg/master

Ternary operator has syntax error. Fixed.