fix filterBehavior both
Merge pull request #256 from yuripc/patch-1

Fix filterBehavior 'both'.