Fixes travis build
Merge pull request #33 from goatslacker/master

Returns empty array on empty collection
Merge pull request #34 from goatslacker/fix-travis2

Fixes travis build