- fix issue where AttributeField might get an exception if there is a null value