schema BUGFIX going through schema tree was skipping rpc and notifications
diff --git a/src/tree_schema.c b/src/tree_schema.c
index 4f375c1..51e2cd3 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -125,10 +125,14 @@
     switch (next->nodetype) {
     case LYS_USES:
     case LYS_CASE:
+    case LYS_INPUT:
+    case LYS_OUTPUT:
         /* go into */
         next = next->child;
         goto repeat;
 
+    case LYS_RPC:
+    case LYS_NOTIF:
     case LYS_CONTAINER:
     case LYS_LEAF:
     case LYS_ANYXML: