PmAttrBase: fixed incorrect behaviour if default value is null