Corrected query typo on submit form