HG-126 fix bug in internal tracking url creation