Fix error with empty blacklist array