Thanks for the report @per1234 This indeed looks like an oversight
https://github.com/discourse/discourse/pull/36881