fix a serious bug in the preindex refactor that broke syncdb for couchapps, mvp_apps, and fluff
Merge pull request #3223 from dimagi/syncdb-hotfix

fix a serious bug in the preindex refactor that broke syncdb for couchap...