Fixed naming of filter function