I’ve merged a fix for this, please let us know if you run into any further issues with it, @MatthewL246!
https://github.com/discourse/discourse/pull/30665