Fixed by:
https://github.com/discourse/discourse/commit/7908a522a07a8fde1348c36f6587c8b395adc2ae
Thanks for reporting.