Step to regenerate
1. Login into project component.
2. Go to the task section.
3. Find the task.
4. Go to the any of the task from the list.
5. Then go to surveys section
6. Try to delete the survey, if any exist.
7. Surveys are unable to delete.