fix a bug I introduced last refactor
Merge pull request #582 from dimagi/fix-fixture-delete

fix a bug I introduced last refactor