WP-3180: Connecting link alias validation must take the type into account.