Fix not being able to have duplicate objects