FYI, I’ve now opened a Pull Request for this: https://github.com/discourse/discourse/pull/9026
I hope you’ll like it.