@cpradio fixed this via:
https://github.com/discourse/discourse/commit/2dccaff25d8697adb97c929c34321d98d349f34c