Merge pull request #234 from tonjo/master

Fixing chaining filter problem -> check to avoid NoneType bitwise and operation