Changes to keep the magnet with the highest number of seeds instead of just the first match