Fix domainWhiteList bug (#218).