simplify 'instance-spec' logic
Merge pull request #66 from dimagi/resubmit-form

simplify 'instance-spec' logic