             lhs.exRuleByYearDay == rhs.exRuleByYearDay &&
             lhs.exRuleByWeekNo == rhs.exRuleByWeekNo &&
             lhs.exRuleByMonth == rhs.exRuleByMonth &&
-            lhs.exRuleBySetPos == rhs.exRuleBySetPos &&
-            lhs.repeatRuleFrequency == rhs.repeatRuleFrequency &&
+            lhs.exRuleBySetPos == rhs.exRuleBySetPos
+        
+        let repeatRuleCheck = lhs.repeatRuleFrequency == rhs.repeatRuleFrequency &&
             lhs.repeatRuleCount == rhs.repeatRuleCount &&
             lhs.repeatRuleRuleWkSt == rhs.repeatRuleRuleWkSt &&
             lhs.repeatRuleInterval == rhs.repeatRuleInterval &&

            lhs.repeatRuleByYearDay == rhs.repeatRuleByYearDay &&
            lhs.repeatRuleByWeekNo == rhs.repeatRuleByWeekNo &&
            lhs.repeatRuleByMonth == rhs.repeatRuleByMonth &&
            lhs.repeatRuleBySetPos == rhs.repeatRuleBySetPos &&
            lhs.eventExceptionDates == rhs.eventExceptionDates &&
            lhs.calendar == rhs.calendar &&
            lhs.eventStartDate == rhs.eventStartDate &&
            lhs.eventEndDate == rhs.eventEndDate &&

            lhs.eventLocation == rhs.eventStatus &&
            lhs.attendees == rhs.attendees &&
            lhs.rruleString == rhs.rruleString
        
        return exRuleCheck && repeatRuleCheck && eventCheck
    }
}
