Fixed 100% loss logic
Modified duplicate logic to only engage if packet was not lost