fix deamon servers query that contains safe deleted problem

fix deamon servers query that contains safe deleted problem