Fixed bug related to multiple forms on a page.