Added swarm pet checks to viral spreading function.