handle comparisons where one value is a string and the other isn't