Fixed a very critical bug in array_stats that messed with the statistics

3 jobs for beta in 2 minutes and 50 seconds (queued for 1 second)