Is that safe? append_query() needs to set _packet_search_head to the earliest entry that holds a packet. It doesn't seem like your alternative guarantees this when both entries have identical _live_at_j.