Improving exception handling for filters, fixing #812
Merge pull request #997 from ujifgc/master

Improving exception handling for filters