I can confirm your finding on my 3.7 site -- looks like you found a bug...
Is there a way to communicate this and get it fix?
Add a new ticket at tracker.moodle.org
I've tried but it says all the time I have to search the issue and demonstrate there is no similar issue.
Moodle assistance is a disaster
Moodle assistance is a disaster