fixed comparators
Merge pull request #8 from nmcglohon/Neil

fixed comparators