 		prefetchRequest.entity = E.entity(in: objectSet.context)
 		prefetchRequest.predicate = NSPredicate(format: "self IN %@",
 		                                        argumentArray: [allObjects as NSArray])
-		prefetchRequest.resultType = NSFetchRequestResultType()
+		prefetchRequest.resultType = []
+		prefetchRequest.returnsObjectsAsFaults = false
 
 		do {
 			let prefetchedObjects = try objectSet.context.fetch(prefetchRequest)

			prefetchRequest.entity = E.entity(in: objectSet.context)
			prefetchRequest.predicate = NSPredicate(format: "self IN %@", inserted as NSArray)
			prefetchRequest.resultType = []

			do {
				let prefetchedObjects = try objectSet.context.fetch(prefetchRequest)

		prefetchRequest.entity = E.entity(in: objectSet.context)
		prefetchRequest.predicate = NSPredicate(format: "self IN %@",
		                                        argumentArray: [prefetchingIds as NSArray])
		prefetchRequest.resultType = []
		prefetchRequest.returnsObjectsAsFaults = false

		let prefetchedObjects = try objectSet.context.fetch(prefetchRequest)
