fix routesforstop and modes in transitindex for freq patterns