Fixed stupid bug causing the NOT filter to fail
Merge pull request #1062 from pculture/gh-825-try2

Fixed stupid bug causing the NOT filter to fail