fix a core when deleting a coll while
saving its doledb. fix it right actually.