fix smallint -> BigInt conversions, especially BigInt(Int128)