 //                }
                 if s.isEditing {
                     
-                    if s.numberOfObjects == 0 {
+                    if s.isEmpty {
                         // If the section object matches the section predicat, keep it.
                         let req = self.sectionFetchRequest
                         if self.fetchSections,

            
            if let existingIP = self.indexPathOfSection(representing: sectionValue),
                let existingSection = self._sectionInfo(at: existingIP) {
                
                existingSection.ensureEditing()
                existingSection._add(object)

//    private(set) var needsSort : Bool = false
    private var _added = Set<Element>() // Tracks added items needing sort, if one do insert for performance
    
    var isEmpty : Bool {
        return self.numberOfObjects == 0 && _added.count == 0
    }
    
    func beginEditing() {
        assert(!isEditing, "Mutiple calls to beginEditing() for RelationalResultsControllerSection")
