Filter can be array or lambda.
Merge pull request #3 from wconrad/filter-array-or-lambda

Filter can be array or lambda.