Protect AAAttrbibute against null values.