catch exception when invalid filter is used
Merge pull request #136 from kbond/patch-1

catch exception when invalid filter is used