Fix the extraction of shortName from the form

We were looking in the wrong row of the table, and so not finding the
form element.