Change blacklist/whitelist backend

fixes #7526