Sonata Stats - When Deleting Agents

Dear Team -
When Deleting an agents from PBX and resyncing sonta stats , the reports getting wrong numbers due to the system don’t count the agent actitvity after deleting ,
what is the best parctice on this issue…

Mohamed Soliman