Fix assigning filter functions to a hint.