Add search for common nodes