Delete object if a new one is created using same identifier