Fix from_dict cases when no item is available.