This should be resolved now. Thanks for the detailed report @pedro
https://github.com/discourse/discourse/pull/21997