Alter filtering method from blacklist to whitelist