Prevent segfault when stop_id is NULL, which is bad for changed routes anyway.