Added test for find safely discarding incompatible nodes.