@jomaxro sorry it took me so long, here is the PR fixing this:
https://github.com/discourse/discourse/pull/4768