Handle smallint in bigint to/from string.