Fixed Map to not generate same ids when same object added to two different Maps