Fix modify statement to modify correct dataset.