added functionality for selecting routes with the same stop