fix bug where converting a UInt32 doesn't raise an OverflowError