little fix for apps with ghostly modules
heh.
Merge pull request #230 from dimagi/submissions-by-form-hotfix

little fix for apps with ghostly modules