fixed a bug in AckHandles

A mislabelled else-if would cause packets under extreme high loss
situations (> 50%) to be reported as both delivered and lost at the same
time.