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