fixed issue with first scheduled evet not having the correct start/end
time