BUG/MNT: Fixed a bug where adding a dataset whose key already existed ad...

...ded a new key to the key_list which kept track of the order, instead of simply ignoring the add_new_key