Equal timestamp bug

Event timestamps are now saved at millisecond granularity.
Previously, timestamps were saved at second granularity. This caused many events to have the same timestamp.