sheep: don't validate other invalidated nodes

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>