Don't create an alias if the distinct is the same as the alias.