Improved restoration of magnet link association.