Question about the evaluation metric

what happens if multiple predicted boxes have an IoU of more than 0.5 with the same ground truth box (i.e. the same wheat head is detected multiple times)?
Is only one of them counted as a true Positive or are they handled in a different way?