fix filter on deleted