schema BUGFIX correct searching nodes in operations in ly_path_compile()

It was impossible to get into RPC/Action/Notification.
diff --git a/src/path.c b/src/path.c
index 6f867f3..38cb92c 100644
--- a/src/path.c
+++ b/src/path.c
@@ -794,7 +794,7 @@
 
         /* find the next node */
         node2 = lys_find_child(ctx_node, mod, name, name_len, 0, getnext_opts);
-        if (!node2 || ((node2->nodetype & (LYS_RPC | LYS_ACTION | LYS_NOTIF)) && (node2 != op))) {
+        if (!node2 || (op && (node2->nodetype & (LYS_RPC | LYS_ACTION | LYS_NOTIF)) && (node2 != op))) {
             LOGVAL_P(ctx, cur_node, LYVE_XPATH, "Not found node \"%.*s\" in path.", name_len, name);
             ret = LY_EVALID;
             goto cleanup;