Fixing leaders migration.