fix first-pass log key addition and seq tree row removal