Fix a bug where a string on the right side of a comparison predicate was being expanded into an object when constructing the values array.