end of the last clip in the selected tracks should set length of the bounced track/clip
bounce to tracks: the end of the last clip in the selected tracks should set length of the bounced clip.
Currently the length of the bounced clip(s) is determined by the end of the last clip in the project, even when that track/clip is not selected.
I know the workaround is to not select the tracks but to select the clips. This is not always easy with big projects and when the tracks are not all adjacent.