Update deleteRideshareRide to check if rideshare id is assigned to other rides