Fix using nested aliases in static routing.