How do you think you're doing CPT-NRT? I don't see any non-stop flights. You can't re-enter Europe, so I guess:
ICN-DEL-HKG-LAX-JFK-DFW-LAX-LHR-DXB-LHR-HEL-LHR-CPT-JNB-xHKG-xNRT-ICN
which I guess might cause the system to throw a wobbly.
ICN-DEL-HKG-LAX-JFK-DFW-LAX-LHR-DXB-LHR-HEL-LHR-CPT-JNB-xHKG-ICN
would be OK assuming the second HKG is for less than 24 hours.