Updated the logic for checking whether a packet is an HostNavigate packet.