Avoid triggering a division by zero in the overflow check