filter items which do not pass the callback test