Update filter code in README