A turn of batches that end no command buffer can follow a command buffer's turn before the next one's, so its steps are not all the command buffer's own: take the first mark of each name after the turn. (cherry picked from commit 68b114b10312e843b96d7b1cb6c5c86b166baab9)