[analyzer;alternate edges] fix type that was causing the wrong path piece to get removed.