I encounter a strange issue by using [array min] and [array max] with "onset" and "number of points" arguments.

E.g. if my-array contains [7 6 0 1 2 3 4 5(

[2(
|
[array min my-array]
|
[print]

The log displays index = 4 and value = 0
I don't understand how this is computed ! (I expected index = 2 (or maybe 0) and value = 0)

(Attachment added on Jul.6th)

http://www.pdpatchrepo.info/hurleur/min-bug.pd