You are right Gareth. I have done the same mistake that we ask others not to do.
This bug was fixed in Version 1.8.0 (2019011700) as can be seen in https://moodle.org/plugins/pluginversion.php?id=18756
But latest available for moodle 3.5 and 3.6 is 1.8.0.1, available also in the MPD