Replays get deleted at random

Sometimes replays disappear from the match history and I don’t find any way to access them.

I’m talking about recent replays (ex: 2 days ago), not from older client versions. And some replays from last week are still there.

Is this a bug? I don’t see why the game would delete some matches at random.