issue 1150: fixed bad attr_set assert