Add typecasts in SQLTerms.set