Fix use of duplicate input ids in form.