Thanks for reporting this bug @plentymarkets_david I wrote a fix for it:
https://github.com/discourse/discourse/pull/6430