         };
         filterObjectFactory.prototype = originalChain;
         filteredChain = new filterObjectFactory();
+        filterObjectFactory.prototype = null;
         
         for (var i:String in chain)
         {

                };
                emptyObjectFactory.prototype = chain;
                chain = new emptyObjectFactory();
            }
            
            nodeAddedToChain = true;

            
            defaultFactory.prototype = chain;
            chain = new defaultFactory();
            defaultFactory.prototype = null;

            if (filterMap)
                chain = applyFilter(originalChain, chain, filterMap);
