$this->params['filter'] needs to be converted to an array.
Merge pull request #42 from brianseitel/filtered-query-fix

$this->params['filter'] needs to be converted to an array.