Fixed bug in setters where val_list and id_list were swapped