checking for outgoing links is useless

checking for having lower keys then links is nonesense