Fixed domain query to get domains with null value in alias