Fixed comparisons bug
Merge pull request #1 from pbryn/master

Merged 'Fixed comparisons bug'