title: Eloquent chunk() missing half the results
body: <p>I have a problem with Laravel's ORM Eloquent chunk() method.
  It misses some results.
  Here is a test query :</p>
  
  <pre><code>$destinataires = Destinataire::where('statut', '&lt;', 3)
      -&gt;where('tokenized_at', '&lt;', $date_active)
      -&gt;chunk($this-&gt;chunk, function ($destinataires) {
          foreach($destinataires as $destinataire) {
              $this-&gt;i++;
          }
      }
  echo $this-&gt;i;
  </code></pre>
  
  <p>It gives 124838 results.</p>
  
  <p>But :</p>
  
  <pre><code>$num_dest = Destinataire::where('statut', '&lt;', 3)
      -&gt;where('tokenized_at', '&lt;', $date_active)
      -&gt;count();
  echo $num_dest;
  </code></pre>
  
  <p>gives 249676, so just TWICE as the first code example.</p>
  
  <p>My script is supposed to edit all matching records in the database. If I launch it multiple times, it just hands out half the remaining records, each time.</p>
  
  <p>I tried with DB::table() instead of the Model. 
  I tried to add a ->take(20000) but it doesn't seem to be taken into account. 
  I echoed the query with ->toSql() and eveything seems to be fine (the LIMIT clause is added when I add the ->take() parameter).</p>
  
  <p>Any suggestions ?</p>