Check for the duplicate tag keys