MDL-64497 GDPR: moodle_content_writer can cause endless loop