Farther back in Destiny 2‘s long list of needed in-game fixes was a problem revolving around raid keys.
Thankfully, Bungie has not only fixed the glitch, but they also changed the raid key system in general.
Apart from Guardians losing earned keys with each weekly reset of Leviathan, a hard to avoid glitch was causing significant issues for players hoping to unlock new gear in chests hidden within the raid.
In the latest patch notes for update 1.0.5, the developer explained: “to avoid erroneous removal of raid keys, they will no longer be removed upon hitting the weekly reset.”