Fixed a bug in the calculateNumDays method within events, was returning incorrect number of days for several months.