Fix bug in ITrustRepository.retrieveMeanTrustValue method (#1676)