This is fixed per:
https://github.com/discourse/discourse/commit/f04471e4229218903df17232db955cd583a423ef