Fix [NaN:NaN:NaN] timestamp bug

Bug from 5196f8cbcb