Fix two wrong conditionals.
Merge pull request #5 from Therzok/fixConditional

Fix two wrong conditionals.