added custom filter for deleting based on strings