loading case through form_data returns 404 instead of throwing AttributeError
check form data more carefully
Merge pull request #1737 from dimagi/form_data_500

loading case through form_data returns 404 instead of throwing AttributeError