500 to 404 for edit_sample
Merge pull request #1422 from dimagi/edit_sample_500

500 to 404 for edit_sample