Replaced function call getallConnected events function with getEntitiesForParent and removed it from RecurringEntity