Fix saving of experimental design variable field when importing a trial with more than 2 instances

Code Reviewer: Daniel Jao

Issue: GCP-10031, GCP-10103