Only disable wildcard imports if one of the namespaces being imported matches the namespace of the reference.