This has been fixed in
https://github.com/discourse/discourse/pull/22183
Thank you for the report @GregoryS