Fix error where OrderedDict gets mutated during the iteration
Fix error where OrderedDict gets mutated during the iteration

datajoint/datajoint-python,dimitri-yatsenko/datajoint-python,fabiansinz/datajoint-python,eywalker/datajoint-python