Oh, I get it. I would use teammate.ride_set here again instead of filtering all rides.