Fixes CoreData PendingRelationship storage