Meteor "$in" Operator not working with "limit"
<p>I have a database of about 10,000 items. About a search I get an array of 10 IDs.</p>

<p>for example:</p>

<pre><code>getProduct("pizza") --&gt; [ "rjxyykii7gx9MQYZb", "JCh45MFwQHEHXRG3s", "FLRkf5jQDMLef4wzL", "76BbqHMumrpQ8u9h6", "4Mfr4EbrmiexA6tgG", "QT4mqbK59BpsR8nPj", "HnNEBaBPf3kGJeg47", "fjJJtZbYFXF9RBCep", "LrBhnTMxgA2mwpYmB", "CXEwwxWDQYgiGKEpG"]
</code></pre>

<p>Now I want, to save recources, set a limit of 10 items</p>

<p>Server:</p>

<pre><code>Meteor.publish("artikel", function () {
    return Artikel.find({}, {limit: 10});
});
</code></pre>

<p>Client:</p>

<pre><code>Meteor.subscribe('artikel');
</code></pre>

<p>But now I get no result list:</p>

<pre><code>var cursor = Artikel.find({_id: {$in: idArray}});
    cursor.count(); //--&gt; 0
</code></pre>

<p>if I use my database-tool, I get, with the same values, 10 results</p>

<pre><code>db.artikel.find({_id: { $in: [ "rjxyykii7gx9MQYZb", ... ] } }).limit(10).count() //--&gt; 10
</code></pre>

<p>what am I doing wrong? Thank you.</p>