Fix byte order in lft top comparison
Stop path record calculation if outgoing port is not found