libyang BUGFIX handle trusted and other special validation cases

Fixes #232
diff --git a/src/parser_xml.c b/src/parser_xml.c
index 77d7f86..0d8541c 100644
--- a/src/parser_xml.c
+++ b/src/parser_xml.c
@@ -717,7 +717,8 @@
     if (lyd_defaults_add_unres(&result, options, ctx, data_tree, act_notif, unres)) {
         goto error;
     }
-    if (!(options & LYD_OPT_TRUSTED) && lyd_check_mandatory_tree((act_notif ? act_notif : result), ctx, options)) {
+    if (!(options & (LYD_OPT_TRUSTED | LYD_OPT_NOTIF_FILTER))
+            && lyd_check_mandatory_tree((act_notif ? act_notif : result), ctx, options)) {
         goto error;
     }