Fixed. Thanks for reporting it.
https://github.com/discourse/discourse/commit/5ef49692e08fdb57e89042810cda9497c1f3be04