Check for null attributes