Handle creating of mongo duplicate key