It’s fixed in the commit
https://github.com/discourse/discourse/commit/edec92280389681058b0c97929d9d136df3d0dea