Fixed bug which was preventing forms from being parsed correctly.