Only transform aliases if they are potential aliases