Fixed decoding empty datetimes