Change get_filter_function back to what it was
Merge pull request #59 from adamrp/filter_fix

Filter fix