Reset source count after unfiltering

I thought this was the simplest way to fix the bug, but let me know if there is a reason this is not a good idea.