Fix regression that caused by an error in StackUtils.CompareStateValuesFromHeap() when compare two arrays