Minor fix. Copy primary key from DTO to domain object