fix bug that front-end cannot handle multiple packets to initialize filters

Change-Id: Idb6d169912421722cc8a964cd06a97190f13af6f
diff --git a/client/catalog-dev/js/catalog.js b/client/catalog-dev/js/catalog.js
index 84a62c5..158aad9 100644
--- a/client/catalog-dev/js/catalog.js
+++ b/client/catalog-dev/js/catalog.js
@@ -751,7 +751,8 @@
 
       d.push(data.getContent().toString());
 
-      if (interest.getName().get(-1).toSegment() == data.getMetaInfo().getFinalBlockId().toSegment()){
+      if (data.getMetaInfo().getFinalBlockId().value.length !== 0 &&
+          interest.getName().get(-1).toSegment() == data.getMetaInfo().getFinalBlockId().toSegment()){
         callback(d.join(""));
       } else {
         request(interest.getName().get(-1).toSegment() + 1);