Correct how filter is implemented