@eviltrout fixed this issue via:
https://github.com/discourse/discourse/commit/9b3b39d8a2349b232e6e8588a2169698158ba702