fix(delegate): find delegate when multiple parent histories