* Fix the found issue. Found needs to be 1 for the realloc, while
  index should be 0. So using i for the index, and found for the count.