Correctly link master keys.