Yes, this is a bug in MODX 3.1.0.
It has been mentioned in this issue
and there is already a pull request to fix it: