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