make download form url not 404 if module or form indices are out of bounds
Merge pull request #466 from dimagi/500-to-404

make download form url not 404 if module or form indices are out of boun...