remove unnecessary comparison
remove unnecessary comparison
Merge pull request #633 from sdavis2702/master

Remove unnecessary comparisons. Closes #632.