Fixed wrong usage of the ternary operator
Merge pull request #91 from WouterJ/patch-1

Fixed wrong usage of the ternary operator