Fix CRITICAL Quill2 bug that could delete entire databases