title: The object is not saved in NSMutableArray
body: <p>this is a piece of code from method where is loading some elements via TFHpple:</p>
  
  <pre><code>// kvota1Niz, KvotaxNiz and Kvota2Niz are result arrays from TFHpple parser
  NSArray *kvota1Niz = [kvoteParser searchWithXPathQuery:kvota1XpathUpit];
  NSArray *kvotaxNiz = [kvoteParser searchWithXPathQuery:kvotaxXpathUpit];
  NSArray *kvota2Niz = [kvoteParser searchWithXPathQuery:kvota2XpathUpit];
  NSMutableArray *kvote1 = [[NSMutableArray alloc] initWithCapacity:0];
  NSMutableArray *kvotex = [[NSMutableArray alloc] initWithCapacity:0];
  NSMutableArray *kvote2 = [[NSMutableArray alloc] initWithCapacity:0];
  NSMutableArray *privremeniArray = [[NSMutableArray alloc] initWithCapacity:0];
  for (TFHppleElement *element in kvota1Niz)
  {
      Par *trenutnaKvota1 =  [[Par alloc] init];
      [kvote1 addObject:trenutnaKvota1];
      trenutnaKvota.kvota1 = [[element firstChild] content];
  }
  for (TFHppleElement *element in kvotaxNiz)
  {
      Par *trenutnaKvotax =  [[Par alloc] init];
  
      if ([_sekvencaLogoa objectAtIndex: [kvotaxNiz indexOfObject:element]] == @"2")
      {
          [privremeniArray addObject:trenutnaKvotaX]
      }
      else
      {
          [kvotex addObject:trenutnaKvotax];
      }
      trenutnaKvota.kvotax = [[element firstChild] content];
  }
  for (TFHppleElement *element in kvota2Niz)
  {
      Par *trenutnaKvota2 =  [[Par alloc] init];
      if ([_sekvencaLogoa objectAtIndex: [kvota2Niz indexOfObject:element]] == @"2")
      {
          [kvote2 addObject:[privremeniArray objectAtIndex:k]];
          k++;
      }
      else
      {
          [kvote2 addObject:trenutnaKvota2];
      }
      trenutnaKvota.kvota2 = [[element firstChild] content];
  }
  kvota1 = _kvota1;
  kvotax = _kvotax;
  kvota2 = _kvota2;
  </code></pre>
  
  <p>The problem is in <code>for(TFHppleElement *element in kvota2Niz)</code> where <code>[privremeniArray objectAtIndex:k]</code> is not saved in the <code>kvote2</code> array. The program enters the for loop, as I <code>NSLogged</code> the value <code>k</code>.
  <code>kvota2</code> is an <code>NSString</code> instance variable of the <code>Par</code> class.
  <code>_sekvencaLogoa</code> is an array containing the strings <code>"2"</code> and <code>"3"</code>.</p>
  
  <p>Any ideas?</p>