Fix leftover lessthan/greaterthan bug after 7c6e4939782.
Merge pull request #979 from kacfengine/master

Fix leftover lessthan/greaterthan bug after 7c6e4939782.