Fixed long random generation in DateTimeGenerator to no longer loop
(nearly) infinitely.