Fix for clone in dispersy statistics

Cherry pick the fix for next branch.