add multi-chain support to get_orig_seq