Fix deleting a family used by a product in mongo