Merge "No need to consider invalid tracks when checking if all active tracks are rerouted." into tm-dev