Work around some DBs hating comparisons between chars and ints.