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