Fix reduceRight for the empty array, initial value combination