Fixes QueryConditionTest failure