Adapt history statistics function to multi user review

This method isn't used right now. However, the adjustments were't too
involved and should give one at least the right direction when the
method should be used again.

This is part of the chages discussed in issue #580.