filter deleted records. (server side)