Fix random date generation