Fixed return of ids for newly created ids in one apply method in create