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