Fixed bug with adding regular statistics and agents that appeared as a cause of this fix