Avoid stack overflow in filterFilter when using objects containing circular refences

When an object with a circular reference property is passed into the search function, a stack overflow occurs. This patch fixes this by processing only calls to objects not processed yet.