No ticket: Reduce .find
(cherry picked from commit 85b3c82445d9e88c6e747a33ad97f5f9e35a7d35)
Fix #13797: .is with single-node context
(cherry picked from commit 4f786ba4d2a5544cb48f589d2659d6cab84efc34)