Need some help for the issue #33450

Hey everyone,
I have been trying to understand this issue for a while and looked into the internals of django to get any leads, but I am coming up short in finding any viable solution or even the point where the problem arises from.

The patch that was submitted is not a good one as it just bandaid on the main problem kind of logic.

I would appreciate any leads on this.