fix confusion minTimestampMs and maxTimestampMs