Added more loop limiting.