OK this is fixed per:
https://github.com/discourse/discourse/commit/9d925f6b264e7a82133242264c455c71fa33c5fe