unicode type added to a type check besides StringType in database handler