Fix bug

Hi,

I'm sorry, I messed when I made my cleanup last time. The logic was wrong and all anaytics methods did not work as indicated in the doc (basically the $client->count('collection', $filters) did not work).

You can merge this one but please don't tag, I have another PR to do :)