Modified getBusStopInfo() to allow detection of loop points