That is the point of the child swap.
The idea is that someone did not get to ride the ride with everyone because they had to stay behind to watch a child. So, the rest of the group goes and waits in line and rides the ride. So that the person who had to stay behind does not feel left out...