Fixing wildcard hostname bug.