Use reject instead of select.