Fixes QueryConditionTest failure
Merge pull request #309 from jsight/queryconditiontestfix

Fixes QueryConditionTest failure