Replace slashes in the id when generating a tempfile name
Allow the form to be drawn when there are singular values