Adjusted input filtering.