Fixes errors with duplicates after save/load