ensure diff timestamps are ints for #5