Added support for array filtering.
Improved tests.
Updated README.md