fixes Can't canonicalize query: BadValue unknown operator: