This is a good point and we have fixed it in
https://github.com/discourse/discourse/pull/18325
Thank you again!