Updated getMonthEvents() to detect certain event object properties and their associated conditions and set additional object properties based on those conditions.