Changed AND to OR clause to cover both cases.
Merge pull request #4 from brianvanburken/error-filter

Changed AND to OR clause to cover both cases.