Correct offset for input to filter function.