Altered t2data delete_orphan_generators() so that it will still work if there are multiple generators with the same name and block