Fix issues with negative values and uint32.