Fixed parse_filter()

AttributeError: 'NoneType' object has no attribute 'split'