fix bug with un-inverted whitelist check