Fix an infinite recursion error on recursive aliases