Tag defect detection