properly handle deleted cases/forms

requires https://github.com/dimagi/fluff/pull/94