Should be fixed in
https://github.com/discourse/discourse/commit/4459665deeb84fb43621be90d64378ebc5fbd365