Fixed here, thanks for the report!
https://github.com/discourse/discourse/commit/9c3f89c17e19dd9c6dca7c1eaf14dd364e9639b5