This patch fixes the updating of calendar events when the course is reset and its start date is changed.