--- libseqlib.orig/src/ReadFilter.cpp +++ libseqlib/src/ReadFilter.cpp @@ -193,7 +193,8 @@ // assign the global rule if there is one // remove from the rest of the rules - Json::Value glob = root.removeMember("global"); + Json::Value glob = root.get("global", null); + root.removeMember("global"); if (!glob.isNull()) rule_all.parseJson(glob);