filter deleted records