fixed bug that produced invalid pcaps if packets from multiple files matched