Thanks, fixed here:
https://github.com/discourse/discourse/commit/88c668705056dd68665f1ee4097e0c00d4e31728