add IsLatest to packets
UpdateIsLatest, use only latest packets in path search. Seems to work but tests sometimes fail.