Fix crash on unowned internal sdb_sets