fix for editing master keys and IDs, case of change primary ID and modify master key props fails