Bug fix: trimming leading dot in domain before matching