Validate tags consistently