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