Exception thrown when doing "WHERE = non-string"

Exception thrown when doing "WHERE = non-string".