Fix incorrect variable name 'filter'