Improve duid parsing. Still some work to be done but should avoid the infinite loop it hit in some cases previously.
Improve duid parsing. Still some work to be done but should avoid the infinite loop it hit in some cases previously.