Fix inverted result
Merge pull request #1 from toddmotto/master

Fix inverted result