Merge "Fixed ArrayUtils::pickRandom() when $rand=0."