We just pushed a fix for this issue:
https://github.com/discourse/discourse/pull/20405
Thanks for the report.