Fix timestamp generation to avoid overflowing the term limit