Change invalid-pid and use find_if in change-node