Fix an issue with white/blacklists and recursion