Support a list filter

Fixes #1