Ensure that string patterns are checked first for Domain Alias.