Fix random integer spread generation.