Update CompareQuery.php

dis
Merge pull request #11 from dhua20/patch-10

Update CompareQuery.php