Fix bug when selecting beams within tuplets.