Fixed a small bug with type promotion in UUID generation.