[PD] unexpected [array max] and [array min] behavior