Wondering if it would make more sense to set connected=false when setting orphaned=true...