ARELLE-235: xbrl loop detection was showing extraneous path elements prior to loop
which were non-repeatable (depending on hash values in memory), trimmed
off extraneous path elements before the actual cycle