Should be fixed by:
https://github.com/discourse/discourse/commit/071bd15463fd0f9d695624d0cc82ccffa9efacf6