Added a check for null attribute value in toString() funcn of AbstractAttribute