Ahh good point. Fixed in
https://github.com/discourse/discourse/commit/ad4a96d38765588a4288aaf760b92509f1ef331d