Fixes a form issue which caused a crash when the form was submitted to be emailed and it included a 'file upload' control (email attachment)