Should be fixed by:
https://github.com/discourse/discourse/commit/057fa049e674b4a0b222e51578511abe30b3ebfa