Removing returns and jumps from swarm set