title: "The current node list is empty." even though I've checked it
body: <p>I'm using Goutte to parse a website with pagination and I get in trouble after I get to the last page.</p>
  
  <pre><code>$as = $crawler-&gt;filter('tbody &gt; tr &gt; td &gt; a');
  if($as-&gt;count())
  {
      $as-&gt;each(function ($node) use (&amp;$URLs)
      {
  
          $URLs[] = $node-&gt;attr('href');
  
      });
  }
  </code></pre>
  
  <p>I've tried checking with <code>empty($as)</code>, <code>$as-&gt;count() &gt; 0</code>, but nothing seems to be working.</p>
  
  <p>Any ideas?</p>