Unique aggregate index duo key

Problem is: I have sent two (same id)creation commands., both got executed successfully. Now I have two aggregates with same aggregateidentifier in MongoDB event store. When I stop and started application on same db, now it is giving index: uniqueAggregateIndex duo key .