Update UserDefinedForm.php

Pull request for fix suggested in https://github.com/silverstripe/silverstripe-userforms/issues/96