Fixed the submission form so that it submits an array of values instead of just the highest value.