Fixed typos and prevent events with a starting timestamp of 0 from being saved