Events schedule logic fixed.