That’s now fixed
https://github.com/discourse/discourse/commit/8d03ff6f82291c459500a6ea6bab45a9e60cfed3