cleanup startup/teardown conditions for xform deletions and count checks
Merge pull request #2 from dimagi/develop

cleanup startup/teardown conditions for xform deletions and count checks