Fix recovery bug, ignore detached-node(s)