Thanks heaps for the report @Slaune, I managed to repro and fix it now
https://github.com/discourse/discourse/pull/38668