Light Scattering Filter problem when removing the filter

When i am removing the light scattering filter from the filter post processor with the removeFilter(filter) function instead of removing it it seems to add another light scattering filter.

mhhh,I can’t reproduce your issue, could you please provide a test case?

In the meantime I found the reson… it had nothing to do with filters, it was a simple mistake on my part where i checked the wrong nifty checkbox id… sorry for the pointless question. I was searching for 2 days for the reason when I started copy pasting code sections here to show what i was doing I noticed the error.