@eviltrout fixed this via:
https://github.com/discourse/discourse/commit/8eeb027c653d37452d220a08ae04eafd34b833f9