Fixed the register form submit targeting the wrong form.