           let dstMO: AnyObject = existingData[dstIndex]
           
           // If the elements are equal this means that we already have the object, and it is an update.
-          if self.compareUniqueKeyFrom(srcMO, with: dstMO, context: context) == true {
+          if self.sfCompareUniqueKeyFrom(srcMO, with: dstMO, context: context) == true {
             
             // We should update
             self.owsUpdateObject(

      // that have not been deleted yet if any is remaining.
      if !existingData.sfIsIndexOutOfBounds(dstIndex) {
        for i in dstIndex..<existingData.count {
          self.deleteObjectWithData(existingData[i], managedObjectContext: moc, context: context)
        }
      }
  }

              
              let dstMOPlusOne = existingData[dstIndexPlusOne] as! NSManagedObject
              
              if self.sfCompareUniqueKeyFrom(srcMO, with:dstMOPlusOne, context:context) == true {
                
                // If objects at this point are identical,
                // it is a deletion of the Core Data object
                self.sfDeleteObjectWithData(dstMO, managedObjectContext:moc, context:context)
                
                dstIndex += 1
                
