filtered out data appear in the result

Good morning,

 

I have a custom component redirecting data to passing and failing ports. I also have a custom filters within that component. I noticed that sometimes,  filtered-out data appear in the resultset, especcially when the resultset should be empty. How to force the filtered-out data not to appear in the resultset ?

 

Best regards,

Aleksandra