Fixed a bug computing agent performances.