This has been a bug since 7.x but I just figured out what causes it.
If you have tracks in a folder with the “group edit” button selected these tracks will not show up if you “show tracks with data between locators”.
Turn off group editing and it works as expected.