Just pushed a fix
https://github.com/discourse/discourse/commit/94cee37eddfb20289b7877f56c7bb27da96d647d