Previous submission data not displayed while trying to edit the submission