Please don't overload term `filter` confusing when reading code. Can you please rename this function to something else like `keepOnly` or alike.