I am trying to use the three-phase power meter design with current sensors. Everything seems to be working correctly except when mains frequency is not perfect 50Hz.
We can see this using the meterlib algorithm configuration tools too, setting frequency to 51Hz:

The algorithm simulator has no errors within the 0.10 error limit. However, if we change to derivative current sensors:

Now there is a -1.9% error on all the current measurements.
I've tried modifying almost every single parameter and combination but I could not manage to stabilize the current sensor outputs.
Am I missing something?
The software is from the AN4265
The settings are all left default in the above screenshots but I have tried using the knob-control to modify all the parameters.