discard_invalid option for filters
don't need this array default now
Merge pull request #36 from wlrs/discard_invalid

Add a discard_invalid option for filters