"JhoveStatistics": Changed strange for-loop into a while loop, because it seems to be more suitable.