If the track selections are to be wider than a bank, then try using the native Reaper actions "Track: Select Track nn"
This post may help too if there is some Reaper display or UI change also expected on doing the track selection
https://forum.cockos.com/showthread.php?t=171832