fixed up comparisons
Merge pull request #2 from cyphar/master

Fix for comparisons not working