Fix a bug in Add::from_dict()