Avoid crashing on a negative HDU extension number