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