     
     // store the stop for the selected row
     selectedStop = stopForRow(indexPath.row)
+    if selectedStop == nil {
+      // Ignore unknown stops
+      return
+    }
     
     // we know the row
     let rowForSelectedStop = indexPath.row

  private func unexpandStopTableView() {
    expandStopTableViewByOffset(0)

//    if let currentVehicleHeaderView = vehicleScrollView.viewAtIndex(currentVehicleIndex) {
//      currentVehicleHeaderView.alpha = 1
//      currentVehicleHeaderView.transform = CGAffineTransformIdentity
//    }

  }
  
  private func resetVehicleScrollView() {

        if let stop = stopForRow(rowToBeReturned) {
          cell.textLabel?.text = "\(stop.name) (\(stop.id))"
        } else {
          cell.textLabel?.text = NSLocalizedString("Unknown stop", comment: "")
          log.error("Unknown stop at row \(rowToBeReturned)")
        }
      }
      
      return cell
      
    } else { // selectedStop != nil
