Rescue node filtering.

As node filtering is performed after the node lookup, but not synchronized,
stale elements can happen there which would raise error.