Update lib/carbon/filter.py

I'm guessing the "<<<<<<< HEAD" shouldn't be there.