An unneeded optimization.
Ah great, that seems to have fixed part of my issue here, where nothing was archived anymore, hence no reports created: #16978
The two conditional return false;
seem to have broken archiving in my case. The syntax error when visiting privacy manager remains.