Fixed issue #8630: check data validity when unserializing attributedescription